summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--src/mod_irc/mod_irc_connection.erl3
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 <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)
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(