diff options
Diffstat (limited to '')
-rw-r--r-- | command.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c index 3e201cc..cab1d26 100644 --- a/command.c +++ b/command.c @@ -75,7 +75,7 @@ static void commandMsg(size_t id, char *params) { (void)id; char *nick = strsep(¶ms, " "); if (!params) return; - ircFormat("PRIVMSG %s :%s\r\n", nick, params); + commandPrivmsg(idFor(nick), params); } static void commandJoin(size_t id, char *params) { |