diff options
author | Alexey Shchepin <alexey@process-one.net> | 2006-02-18 23:05:05 +0300 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2006-02-18 23:05:05 +0300 |
commit | 0fd01cfff8237db8f202d3ca1c0e04c834d01875 (patch) | |
tree | be889d90d53a1ba268986ce55e45f24096067695 /src | |
parent | 44fdd720414b332bf56bceeb9c0b868e5702cf8c (diff) |
* src/mod_irc/mod_irc_connection.erl: Added handling for "%", "&"
and "~" prefixes in IRC nicknames (thanks to Vladimir Kulev)
SVN Revision: 509
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_irc/mod_irc_connection.erl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mod_irc/mod_irc_connection.erl b/src/mod_irc/mod_irc_connection.erl index d503d17a2..53dc2c21c 100644 --- a/src/mod_irc/mod_irc_connection.erl +++ b/src/mod_irc/mod_irc_connection.erl @@ -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( |