src/irc.c
changeset 44 f08e8fb2c1da
parent 41 7260f61566b5
child 47 a689b6a8e6ed
--- a/src/irc.c
+++ b/src/irc.c
@@ -252,7 +252,7 @@
                         *ptr = '\0';
                     return command;
                 case PRIVMSG:
-                    if ((message->email = strchr (message->user, '=')))
+                    if ((message->email = strchr (message->user, '@')))
                         ++message->email;
                     if ((ptr = strchr (message->user, '!')))
                         *ptr = '\0';