mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04:00
/CONNECT and /SERVER crashed without parameters
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2361 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
05ecb785fb
commit
aed634ae08
@ -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>] */
|
||||
|
Loading…
Reference in New Issue
Block a user