diff options
Diffstat (limited to 'src/core/chat-commands.c')
-rw-r--r-- | src/core/chat-commands.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/chat-commands.c b/src/core/chat-commands.c index 11e04a1e..7b76511f 100644 --- a/src/core/chat-commands.c +++ b/src/core/chat-commands.c @@ -120,9 +120,9 @@ static void cmd_connect(const char *data) if (server != NULL && rawlog_file != NULL) rawlog_open(server->rawlog, rawlog_file); - } - g_free(rawlog_file); + g_free(rawlog_file); + } } static RECONNECT_REC *find_reconnect_server(int chat_type, @@ -226,9 +226,9 @@ static void cmd_server_connect(const char *data, SERVER_REC *server) if (server != NULL && rawlog_file != NULL) rawlog_open(server->rawlog, rawlog_file); - } - g_free(rawlog_file); + g_free(rawlog_file); + } } /* SYNTAX: DISCONNECT *|<tag> [<message>] */ |