jappix/jappix — pull request #85 by regilero (2012-05-25 15:48:19+00:00)
Title: Kickban: fix Bug #33 and allow finer /kick & /ban

Allow kick and ban for user with spaces by placing reason before nickname separated with : (reason still optionnal)

So when using /help we now have
/kick [reason:] nickname
/msg [reason:] nickname

The reason is optionnal, if now reason is found the the first part will be the nickname. Else everything found after ':' is the nickname. This allows for nickname with any characters ("' spaces, etc). We first try the fulle text as a nickname to allow as well for names with ':' inside.

There is also a bugifx on the nickname insertion in buddy list on presence updates. With nicknames containing quotes (") the jquery attr was working but later search queries (for getMUCUserRealXID() ) were not working anymore.