Delegate to commandPrivmsg from commandMsg
parent
babd3b0a6c
commit
00f0f94fc8
|
@ -75,7 +75,7 @@ static void commandMsg(size_t id, char *params) {
|
||||||
(void)id;
|
(void)id;
|
||||||
char *nick = strsep(¶ms, " ");
|
char *nick = strsep(¶ms, " ");
|
||||||
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) {
|
||||||
|
|
Loading…
Reference in New Issue