Fix bug with /away -all in IRC plugin: set or unset future away for disconnected servers (bug #29022)
This commit is contained in:
parent
0543b0ccc7
commit
a852d3af4b
@ -43,6 +43,8 @@ Version 0.3.2 (under dev!)
|
||||
* irc: fix bug with SSL connection (fails sometimes when ssl_verify is on)
|
||||
(bug #28741)
|
||||
* irc: fix PART message received on Undernet server (bug #28825)
|
||||
* irc: fix bug with /away -all: set or unset future away for disconnected
|
||||
servers (bug #29022)
|
||||
* irc: add option irc.network.connection_timeout (timeout between TCP connection
|
||||
to server and reception of message 001)
|
||||
* irc: add options irc.look.smart_filter_join and irc.look.smart_filter_quit
|
||||
|
@ -524,11 +524,13 @@ irc_command_away (void *data, struct t_gui_buffer *buffer, int argc,
|
||||
for (ptr_server = irc_servers; ptr_server;
|
||||
ptr_server = ptr_server->next_server)
|
||||
{
|
||||
if (ptr_server->is_connected)
|
||||
if (ptr_server->buffer)
|
||||
{
|
||||
irc_command_away_server (ptr_server,
|
||||
(argc > 2) ? argv_eol[2] : NULL,
|
||||
1);
|
||||
}
|
||||
}
|
||||
weechat_buffer_set (NULL, "hotlist", "+");
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user