]> granicus.if.org Git - ejabberd/commitdiff
* src/mod_irc/mod_irc_connection.erl: Added handling for "%", "&"
authorAlexey Shchepin <alexey@process-one.net>
Sat, 18 Feb 2006 20:05:05 +0000 (20:05 +0000)
committerAlexey Shchepin <alexey@process-one.net>
Sat, 18 Feb 2006 20:05:05 +0000 (20:05 +0000)
and "~" prefixes in IRC nicknames (thanks to Vladimir Kulev)

SVN Revision: 509

ChangeLog
src/mod_irc/mod_irc_connection.erl

index 94a915ca368e915cf8594cac7b12411004fe4e23..f26f2e0a64c7ef414593d65f66b019f56580a234 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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)
index d503d17a213b09b65d26cbe5ec3b5dfe41c15316..53dc2c21cb23d2a136f205d31f7059521ab58d24 100644 (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(