summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-01-30 22:00:06 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-01-30 22:00:06 +0000
commitaed634ae08f6d0ba4cd53aa5b5243b8f40ae2cae (patch)
tree1719c9e0c3b94c1f0cd6d7eab2bd65a245ff08e1 /src/core
parent05ecb785fb463e5fa51869d11c031883d1d7380c (diff)
downloadirssi-aed634ae08f6d0ba4cd53aa5b5243b8f40ae2cae.zip
/CONNECT and /SERVER crashed without parameters
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2361 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core')
-rw-r--r--src/core/chat-commands.c8
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>] */