diff options
author | C. McEnroe | 2020-02-10 20:17:21 -0500 |
---|---|---|
committer | C. McEnroe | 2020-02-10 20:17:21 -0500 |
commit | 00f0f94fc80ebecff531388e38d0fb121e3f4e74 (patch) | |
tree | ebb41836719f2bea73f69d05211b6d62021a3ab2 /command.c | |
parent | babd3b0a6c4715bba573ffdf7bd07eac62b8cd0f (diff) |
Delegate to commandPrivmsg from commandMsg
Diffstat (limited to 'command.c')
-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) { |