From b00e74f3b825ffb38d6d36ce411441f1148ac433 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Tue, 12 Apr 2022 11:37:35 +0300 Subject: [PATCH] Allow /editor while not connected Since /editor can be used also for commands it doesn't make sense to restrict it to only connected state. --- src/command/cmd_funcs.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index 4fd9d20b..15bf5d7c 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -9511,13 +9511,6 @@ cmd_change_password(ProfWin* window, const char* const command, gchar** args) gboolean cmd_editor(ProfWin* window, const char* const command, gchar** args) { - jabber_conn_status_t conn_status = connection_get_status(); - - if (conn_status != JABBER_CONNECTED) { - cons_show("You are currently not connected."); - return TRUE; - } - gchar* message = NULL; if (get_message_from_editor(NULL, &message)) {