changeset 22 | b786b5f92a93 |
parent 21 | 138537d81dd1 |
child 23 | 1cd79bb84e9c |
--- a/src/parse.c +++ b/src/parse.c @@ -112,17 +112,14 @@ if (strstr (message->line, message->nick)) { if (*message->line != '!') { /* - * DEAD - LOCK - CHECK + * DEADLOCK-CHECK */ if (strcmp (message->user, message->nick)) { snprintf (msg, 512, "PRIVMSG %s :%s, %s?\r\n", message->channel, gettext ("What's up"), message->user); - if (counter++ > 3) + if (counter++ > 2) return NULL; return msg; } - /* - * DEAD - LOCK - CHECK ENDS - */ } return NULL; }