* src/mod_irc/mod_irc_connection.erl: Added handling for "%", "&"

and "~" prefixes in IRC nicknames (thanks to Vladimir Kulev)

SVN Revision: 509
This commit is contained in:
Alexey Shchepin 2006-02-18 20:05:05 +00:00
parent 44fdd72041
commit 0fd01cfff8
2 changed files with 8 additions and 2 deletions

View File

@ -1,9 +1,12 @@
2006-02-18 Alexey Shchepin <alexey@sevcom.net>
* src/mod_irc/mod_irc_connection.erl: Added handling for "%", "&"
and "~" prefixes in IRC nicknames (thanks to Vladimir Kulev)
* src/mod_irc/mod_irc_connection.erl: Added /msg and /ctcp
commands, improved handling of channel topic and kick, mirc colors
now filtered, other minor improvements (thanks to Oleg
V. Motienko)
now filtered, other minor improvements (thanks to Oleg V. Motienko
and Magnus Henoch)
* src/mod_configure.erl: Improved strings (thanks to Sander
Devrieze)

View File

@ -665,6 +665,9 @@ process_channel_list_user(StateData, Chan, User) ->
case User1 of
[$@ | U2] -> {U2, "admin", "moderator"};
[$+ | U2] -> {U2, "member", "participant"};
[$\% | U2] -> {U2, "admin", "moderator"};
[$& | U2] -> {U2, "admin", "moderator"};
[$~ | U2] -> {U2, "admin", "moderator"};
_ -> {User1, "member", "participant"}
end,
ejabberd_router:route(