about summary refs log tree commit diff
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
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.
-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) {
;follow=1'>Add mailto spec to STANDARDSJune McEnroe 2020-04-26Increase space between nav itemsJune McEnroe 2020-04-26Add mailto address for the archiveJune McEnroe 2020-04-26Put dates on new lines in indexJune McEnroe 2020-04-26Include <> around Message-Id in mailto: URLsJune McEnroe 2020-04-26Add link to index on thread pagesJune McEnroe 2020-04-26Fall back to Content-Type name parameter for attachmentsJune McEnroe 2020-04-26Remove margins in article.message headerJune McEnroe 2020-04-26Generate index.atomJune McEnroe 2020-04-26Generate XHTML content in Atom entriesJune McEnroe 2020-04-25Style index pageJune McEnroe 2020-04-25Render index.htmlJune McEnroe 2020-04-25Wrap <summary> replies count in <data>June McEnroe 2020-04-25Accumulate thread envelopes before concatenationJune McEnroe 2020-04-24Free envelope in concatDataJune McEnroe 2020-04-24Use replyTo address in mailto:June McEnroe 2020-04-23Wrap quoted lines in <q>June McEnroe