equal
deleted
inserted
replaced
250 case VERSION: |
250 case VERSION: |
251 if ((ptr = strchr (message->user, ' '))) |
251 if ((ptr = strchr (message->user, ' '))) |
252 *ptr = '\0'; |
252 *ptr = '\0'; |
253 return command; |
253 return command; |
254 case PRIVMSG: |
254 case PRIVMSG: |
255 if ((message->email = strchr (message->user, '='))) |
255 if ((message->email = strchr (message->user, '@'))) |
256 ++message->email; |
256 ++message->email; |
257 if ((ptr = strchr (message->user, '!'))) |
257 if ((ptr = strchr (message->user, '!'))) |
258 *ptr = '\0'; |
258 *ptr = '\0'; |
259 |
259 |
260 message->channel = strtok (message->line, " "); |
260 message->channel = strtok (message->line, " "); |