Skip to content

Commit d216e12

Browse files
committed
remove colon from accounts, modes
1 parent 341477a commit d216e12

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/mod/irc.mod/chan.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,6 +1205,7 @@ static int got354(char *from, char *msg)
12051205
}
12061206
flags = newsplit(&msg); /* Grab the flags */
12071207
account = newsplit(&msg); /* Grab the account name */
1208+
fixcolon(account);
12081209
got352or4(chan, user, host, nick, flags, account);
12091210
}
12101211
}

src/mod/irc.mod/mode.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1014,6 +1014,7 @@ static int gotmode(char *from, char *origmsg)
10141014
z = strlen(msg);
10151015
if (msg[--z] == ' ') /* I hate cosmetic bugs :P -poptix */
10161016
msg[z] = 0;
1017+
fixcolon(msg);
10171018
putlog(LOG_MODES, chan->dname, "%s: mode change '%s %s' by %s", ch, chg,
10181019
msg, from);
10191020
nick = splitnick(&from);

0 commit comments

Comments
 (0)