From 359b08b33519e88d7e0df54dc2f2813a98437cf5 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sun, 2 Sep 2018 00:13:27 -0400 Subject: Simplify invalid nick messages --- handle.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'handle.c') 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 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 to choose a new one"); } static void handleReplyWelcome(char *prefix, char *params) { -- cgit 1.4.1-2-gfad0