about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-02 00:13:27 -0400
committerJune McEnroe <june@causal.agency>2018-09-02 00:13:27 -0400
commit359b08b33519e88d7e0df54dc2f2813a98437cf5 (patch)
tree54a59dd983965fc44dfe376d06e5afc3bd59d031
parentInclude time.h for time_t in chat.h (diff)
downloadcatgirl-359b08b33519e88d7e0df54dc2f2813a98437cf5.tar.gz
catgirl-359b08b33519e88d7e0df54dc2f2813a98437cf5.zip
Simplify invalid nick messages
-rw-r--r--handle.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/handle.c b/handle.c
index 88edd8d..865bbad 100644
--- a/handle.c
+++ b/handle.c
@@ -125,10 +125,8 @@ static void handlePing(char *prefix, char *params) {
 static void handleReplyErroneousNickname(char *prefix, char *params) {
 	char *mesg;
 	shift(prefix, NULL, NULL, NULL, params, 3, 0, NULL, NULL, &mesg);
-	// FIXME: Better formatting.
-	uiLog(TAG_STATUS, UI_HOT, L"You can't use that name here");
-	uiFmt(TAG_STATUS, UI_HOT, "Sheriff says, \"%s\"", mesg);
-	uiLog(TAG_STATUS, UI_HOT, L"Type /nick <name> to choose a new one");
+	uiFmt(TAG_STATUS, UI_HOT, "You can't use that name here: \"%s\"", mesg);
+	uiLog(TAG_STATUS, UI_COLD, L"Type /nick <name> to choose a new one");
 }
 
 static void handleReplyWelcome(char *prefix, char *params) {
der'>2019-11-07Include path in readlinkat errorJune McEnroe 2019-11-07Call clientConsume before clientRecvJune McEnroe This might reduce the frequency of a client getting its own message back because it was behind in the ring when it sent it. 2019-11-06Use -l:filename in Linux.mkJune McEnroe 2019-11-06Fix compat.h for #defined strlcpyJune McEnroe 2019-11-06Allow unsetting LIBRESSL_PREFIXJune McEnroe 2019-11-06Document calico service configurationJune McEnroe 2019-11-06Document SASL EXTERNAL configuration in more detailJune McEnroe 2019-11-06Document pounce service configurationJune McEnroe 2019-11-06Mention Darwin and GNU/Linux in READMEJune McEnroe 2019-11-06Assume LibreSSL from brew on DarwinJune McEnroe 2019-11-06Remove -DNO_EXPLICIT_BZERO from Darwin.mkJune McEnroe 2019-11-06Don't install rc scripts or dirs on LinuxJune McEnroe