Ban reasons not logged correctly in ban.txt

Status
Not open for further replies.

Fred

Member
If a reason is given when banning a player from a netgame, and the reason isn't wrapped in quotation marks, the banned player recieves the full reason, but ban.txt only logs it up to the first space character.

Example:
Code:
>ban 1 This one isn't wrapped
Player 2 has been banned (This one isn ' t wrapped)
ban.txt said:
192.168.2.1 32 This

versus

Code:
>ban 1 "This one is"
Player 2 has been banned (This one is)
ban.txt said:
192.168.2.1 32 This one is

By the way, what does the 32 stand for?
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top