From 0fd01cfff8237db8f202d3ca1c0e04c834d01875 Mon Sep 17 00:00:00 2001 From: Alexey Shchepin Date: Sat, 18 Feb 2006 20:05:05 +0000 Subject: * src/mod_irc/mod_irc_connection.erl: Added handling for "%", "&" and "~" prefixes in IRC nicknames (thanks to Vladimir Kulev) SVN Revision: 509 --- ChangeLog | 7 +++++-- src/mod_irc/mod_irc_connection.erl | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 94a915ca..f26f2e0a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,12 @@ 2006-02-18 Alexey Shchepin + * 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) diff --git a/src/mod_irc/mod_irc_connection.erl b/src/mod_irc/mod_irc_connection.erl index d503d17a..53dc2c21 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( -- cgit v1.2.3