fixed a segmentation fault in irc_parsemessage
The old hyperion ircd shows usernames as
* user!~user=domain.com and the new ircdseven as
* user!~user@domain.com
committer: Markus Bröker <mbroeker@largo.homelinux.org>
--- 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';