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) {