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
Diffstat (limited to '')
-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) {
/commit/bin/title.c?id=d5e24eb908e982a5d582dc46e944905685be4908&follow=1'>Add -x flag to titleJune McEnroe 2019-09-07Ignore SIGPIPE in relayJune McEnroe 2019-09-07Add A Memory Called EmpireJune McEnroe 2019-09-05Handle lack of Content-TypeJune McEnroe 2019-09-05Use CURLINFO_CONTENT_TYPEJune McEnroe 2019-09-05Decode entities in titlesJune McEnroe 2019-09-05Print title as soon as it's availableJune McEnroe 2019-09-05Use CURL_PREFIX to set flagsJune McEnroe 2019-09-05Add titleJune McEnroe 2019-09-04Add Avorter n'est pas tuerJune McEnroe 2019-08-29Unset executable on shell scriptsJune McEnroe 2019-08-29Add long-missing setopt to bin.7June McEnroe 2019-08-29Add editJune McEnroe