irc: disable server reconnection when the server buffer is closed (closes #236)
This commit is contained in:
parent
0d9b7ec954
commit
60c61c3962
@ -27,6 +27,7 @@ Bug fixes::
|
|||||||
|
|
||||||
* core: replace char "," by "~" in color codes to separate foreground from background (issue #1264)
|
* core: replace char "," by "~" in color codes to separate foreground from background (issue #1264)
|
||||||
* alias: remove default aliases /AME and /AMSG (issue #1355)
|
* alias: remove default aliases /AME and /AMSG (issue #1355)
|
||||||
|
* irc: disable server reconnection when the server buffer is closed (issue #236)
|
||||||
* irc: strip spaces at beginning/end of addresses in server option "addresses" (issue #195)
|
* irc: strip spaces at beginning/end of addresses in server option "addresses" (issue #195)
|
||||||
* irc: fix display of enabled/disabled client capabilities received in command CAP ACK (issue #151)
|
* irc: fix display of enabled/disabled client capabilities received in command CAP ACK (issue #151)
|
||||||
|
|
||||||
|
@ -188,6 +188,10 @@ irc_buffer_close_cb (const void *pointer, void *data,
|
|||||||
irc_server_disconnect (ptr_server, 0, 0);
|
irc_server_disconnect (ptr_server, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* disable reconnection */
|
||||||
|
ptr_server->reconnect_delay = 0;
|
||||||
|
ptr_server->reconnect_start = 0;
|
||||||
|
|
||||||
/* close server channels/privates */
|
/* close server channels/privates */
|
||||||
ptr_channel = ptr_server->channels;
|
ptr_channel = ptr_server->channels;
|
||||||
while (ptr_channel)
|
while (ptr_channel)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user