about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--command.c2
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(&params, " ");
 	if (!params) return;
-	ircFormat("PRIVMSG %s :%s\r\n", nick, params);
+	commandPrivmsg(idFor(nick), params);
 }
 
 static void commandJoin(size_t id, char *params) {
>Update line count for words longer than linesJune McEnroe 2020-02-10Simplify mark, heat, unread trackingJune McEnroe 2020-02-10Update prompt when own nick changesJune McEnroe 2020-02-10Match URLs surrounded by parenthesesJune McEnroe But include a pair of parentheses in the URL itself. 2020-02-10Fix M-a so it properly cycles back to where it startedJune McEnroe 2020-02-09Add M-lJune McEnroe 2020-02-09Add /whoisJune McEnroe 2020-02-09Add /msgJune McEnroe