From 828cc8b0c033956fdb4c370dac194dea7145b9ca Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 27 Nov 2012 00:20:43 +0000 Subject: Show message on /join when windows full --- src/command.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/command.c b/src/command.c index 4a177882..1153aad7 100644 --- a/src/command.c +++ b/src/command.c @@ -1310,6 +1310,8 @@ _cmd_join(gchar **args, struct cmd_help_t help) if (conn_status != JABBER_CONNECTED) { cons_show("You are not currently connected."); + } else if (ui_windows_full()) { + cons_bad_show("Windows all used, close a window and try again."); } else { // if no nick, set to first part of jid if (nick == NULL) { -- cgit 1.4.1-2-gfad0