Delegate to commandPrivmsg from commandMsg

weechat-hashes
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; (void)id;
char *nick = strsep(&params, " "); char *nick = strsep(&params, " ");
if (!params) return; if (!params) return;
ircFormat("PRIVMSG %s :%s\r\n", nick, params); commandPrivmsg(idFor(nick), params);
} }
static void commandJoin(size_t id, char *params) { static void commandJoin(size_t id, char *params) {