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) {
it-pink/commit/ui-shared.h?id=a431326e8fab8153905fbde036dd3c9fb4cc8eaa&follow=1'>auth: have cgit calculate login addressJason A. Donenfeld 2014-01-16auth: lua string comparisons are time invariantJason A. Donenfeld 2014-01-16authentication: use hidden form instead of refererJason A. Donenfeld 2014-01-16auth: add basic authentication filter frameworkJason A. Donenfeld 2014-01-16t0111: Additions and fixesLukas Fleischer 2014-01-16parsing.c: Remove leading space from committerLukas Fleischer