1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16:38 +02:00

Fix crash when switching server with alt+s

This commit is contained in:
Sebastien Helleu
2008-10-26 16:40:16 +01:00
parent c1fc320025
commit 62e4f7241a
+2
View File
@@ -3111,6 +3111,8 @@ irc_command_server (void *data, struct t_gui_buffer *buffer, int argc,
if (irc_current_server)
{
ptr_server = irc_current_server->next_server;
if (!ptr_server)
ptr_server = irc_servers;
while (ptr_server != irc_current_server)
{
if (ptr_server->buffer)