Simplify invalid nick messages
parent
e5f0c63e7f
commit
359b08b335
6
handle.c
6
handle.c
|
@ -125,10 +125,8 @@ static void handlePing(char *prefix, char *params) {
|
||||||
static void handleReplyErroneousNickname(char *prefix, char *params) {
|
static void handleReplyErroneousNickname(char *prefix, char *params) {
|
||||||
char *mesg;
|
char *mesg;
|
||||||
shift(prefix, NULL, NULL, NULL, params, 3, 0, NULL, NULL, &mesg);
|
shift(prefix, NULL, NULL, NULL, params, 3, 0, NULL, NULL, &mesg);
|
||||||
// FIXME: Better formatting.
|
uiFmt(TAG_STATUS, UI_HOT, "You can't use that name here: \"%s\"", mesg);
|
||||||
uiLog(TAG_STATUS, UI_HOT, L"You can't use that name here");
|
uiLog(TAG_STATUS, UI_COLD, L"Type /nick <name> to choose a new one");
|
||||||
uiFmt(TAG_STATUS, UI_HOT, "Sheriff says, \"%s\"", mesg);
|
|
||||||
uiLog(TAG_STATUS, UI_HOT, L"Type /nick <name> to choose a new one");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void handleReplyWelcome(char *prefix, char *params) {
|
static void handleReplyWelcome(char *prefix, char *params) {
|
||||||
|
|
Loading…
Reference in New Issue