mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 09:02:13 +02:00
Whops, didn't actually fix the connection_lost :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2308 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
6d44620b4a
commit
1d7a8245ca
1 changed files with 5 additions and 1 deletions
|
|
@ -863,7 +863,11 @@ static void parse_command(const char *command, int expand_aliases,
|
||||||
signal_emit_id(signal_default_command, 3,
|
signal_emit_id(signal_default_command, 3,
|
||||||
command, server, item);
|
command, server, item);
|
||||||
}
|
}
|
||||||
if (server != NULL) server_unref(server);
|
if (server != NULL) {
|
||||||
|
if (server->connection_lost)
|
||||||
|
server_disconnect(server);
|
||||||
|
server_unref(server);
|
||||||
|
}
|
||||||
current_command = oldcmd;
|
current_command = oldcmd;
|
||||||
|
|
||||||
g_free(cmd);
|
g_free(cmd);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue