Doesn't allow us to kick a user with a space character in the nickname

25 views
Skip to first unread message

sheeraz kaleem

unread,
Feb 25, 2014, 2:40:05 AM2/25/14
to ajax...@googlegroups.com

Doesn't allow us to kick a user with a space character in the nickname.

Stephen Gemme

unread,
Feb 25, 2014, 8:48:37 AM2/25/14
to ajax...@googlegroups.com
That's because the parser for the kick command only grabs the first part of the person's name. This is why, by default, Frug has designed the chat to put an underscore "_" in place of the space of a person's name. 

The kick command, as well as the private message command, parse the entered text and separate it by each space into a text array. The array is then parsed to find the command entered (the first element of the array), and the username submit (the 2nd element in the array).
Reply all
Reply to author
Forward
0 new messages