equal
deleted
inserted
replaced
250 return "PONG"; |
250 return "PONG"; |
251 #else |
251 #else |
252 return NULL; |
252 return NULL; |
253 #endif |
253 #endif |
254 case ENOMEM: |
254 case ENOMEM: |
|
255 return "ENOMEM"; |
255 case ERROR: |
256 case ERROR: |
256 return command; |
257 free (command); |
|
258 return "ERROR"; |
257 case VERSION: |
259 case VERSION: |
258 if ((ptr = strchr (message->user, ' '))) |
260 if ((ptr = strchr (message->user, ' '))) |
259 *ptr = '\0'; |
261 *ptr = '\0'; |
260 return command; |
262 return command; |
261 case PRIVMSG: |
263 case PRIVMSG: |