about summary refs log tree commit diff
path: root/command.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-06-21 17:26:43 -0400
committerJune McEnroe <june@causal.agency>2021-06-21 17:26:43 -0400
commita79a3fc9f6d508f93a76fb3fd1bc64e0f51378ea (patch)
tree922dcb10da9002116a38cd3857659ed3902bbe26 /command.c
parentOpen log files with CLOEXEC (diff)
downloadcatgirl-a79a3fc9f6d508f93a76fb3fd1bc64e0f51378ea.tar.gz
catgirl-a79a3fc9f6d508f93a76fb3fd1bc64e0f51378ea.zip
Use NS and CS server aliases
I think I didn't use these originally because they were misconfigured
on tilde.chat, but they work now, and supposedly server aliases
should be more secure/reliable.
Diffstat (limited to 'command.c')
-rw-r--r--command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/command.c b/command.c
index 84cb68f..1193615 100644
--- a/command.c
+++ b/command.c
@@ -355,12 +355,12 @@ static void commandWhowas(uint id, char *params) {
 
 static void commandNS(uint id, char *params) {
 	(void)id;
-	ircFormat("PRIVMSG NickServ :%s\r\n", (params ?: "HELP"));
+	ircFormat("NS %s\r\n", (params ?: "HELP"));
 }
 
 static void commandCS(uint id, char *params) {
 	(void)id;
-	ircFormat("PRIVMSG ChanServ :%s\r\n", (params ?: "HELP"));
+	ircFormat("CS %s\r\n", (params ?: "HELP"));
 }
 
 static void commandQuery(uint id, char *params) {