applied Eric's follow up patch

This commit is contained in:
Anselm R Garbe
2014-11-12 11:18:50 +01:00
parent f87d3f5bef
commit 5eaa0fff0d
2 changed files with 12 additions and 6 deletions

4
sic.c
View File

@ -63,7 +63,7 @@ parsein(char *s) {
if(s[0] == '\0')
return;
skip(s, '\n');
if(s[0] != ':') {
if(s[0] != COMMAND_PREFIX_CHARACTER) {
privmsg(channel, s);
return;
}
@ -84,7 +84,7 @@ parsein(char *s) {
if(*p)
*p++ = '\0';
if(!*p)
p = "sic - 250 LOC are too much!";
p = DEFAULT_PARTING_MESSAGE;
sout("PART %s :%s", s, p);
return;
case 'm':