mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 03:56:22 +00:00
Show message on /join when windows full
This commit is contained in:
@@ -1310,6 +1310,8 @@ _cmd_join(gchar **args, struct cmd_help_t help)
|
|||||||
|
|
||||||
if (conn_status != JABBER_CONNECTED) {
|
if (conn_status != JABBER_CONNECTED) {
|
||||||
cons_show("You are not currently 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 {
|
} else {
|
||||||
// if no nick, set to first part of jid
|
// if no nick, set to first part of jid
|
||||||
if (nick == NULL) {
|
if (nick == NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user