Delegate to commandPrivmsg from commandMsg

master
C. McEnroe 2020-02-10 20:17:21 -05:00
parent babd3b0a6c
commit 00f0f94fc8
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ static void commandMsg(size_t id, char *params) {
(void)id;
char *nick = strsep(&params, " ");
if (!params) return;
ircFormat("PRIVMSG %s :%s\r\n", nick, params);
commandPrivmsg(idFor(nick), params);
}
static void commandJoin(size_t id, char *params) {