Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/mod/irc.mod/chan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1205,6 +1205,7 @@ static int got354(char *from, char *msg)
}
flags = newsplit(&msg); /* Grab the flags */
account = newsplit(&msg); /* Grab the account name */
fixcolon(account);
got352or4(chan, user, host, nick, flags, account);
}
}
Expand Down Expand Up @@ -1956,13 +1957,12 @@ static int gotjoin(char *from, char *channame)

strlcpy(uhost, from, sizeof buf);
nick = splitnick(&uhost);
// :nick!user@host JOIN :#chan
chname = newsplit(&channame);
fixcolon(chname);
if (extjoin) {
// :nick!user@host JOIN #chan account :realname
account = newsplit(&channame);
} else {
// :nick!user@host JOIN :#chan
fixcolon(chname);
}
chan = findchan_by_dname(chname);
if (!chan && chname[0] == '!') {
Expand Down
1 change: 1 addition & 0 deletions src/mod/irc.mod/mode.c
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,7 @@ static int gotmode(char *from, char *origmsg)
z = strlen(msg);
if (msg[--z] == ' ') /* I hate cosmetic bugs :P -poptix */
msg[z] = 0;
fixcolon(msg);
putlog(LOG_MODES, chan->dname, "%s: mode change '%s %s' by %s", ch, chg,
msg, from);
nick = splitnick(&from);
Expand Down
Loading