summary refs log tree commit diff
diff options
context:
space:
mode:
authorC. McEnroe2021-06-21 17:26:43 -0400
committerC. McEnroe2021-06-21 17:26:43 -0400
commita79a3fc9f6d508f93a76fb3fd1bc64e0f51378ea (patch)
tree922dcb10da9002116a38cd3857659ed3902bbe26
parent73181be1ca02a37f09cb2515619edf49ecc73c1c (diff)
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.
-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) {