summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2006-11-02 11:49:09 +0000
committerSebastien Helleu <flashcode@flashtux.org>2006-11-02 11:49:09 +0000
commit844a16a3c56e67d53ea5e1649be5f3e5b6e4aca1 (patch)
tree9c268a1e967bc805183669ca29443c119793da85
parentb786cdafe6057108497dc10004cc793343202908 (diff)
downloadweechat-844a16a3c56e67d53ea5e1649be5f3e5b6e4aca1.zip
Added nicklist/status refresh when disconnected from server
-rw-r--r--src/irc/irc-server.c2
-rw-r--r--weechat/src/irc/irc-server.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/irc/irc-server.c b/src/irc/irc-server.c
index e37622519..96d6275d5 100644
--- a/src/irc/irc-server.c
+++ b/src/irc/irc-server.c
@@ -1869,6 +1869,8 @@ server_disconnect (t_irc_server *server, int reconnect)
nick_free_all (ptr_channel);
irc_display_prefix (NULL, ptr_channel->buffer, PREFIX_INFO);
gui_printf (ptr_channel->buffer, _("Disconnected from server!\n"));
+ gui_nicklist_draw (ptr_channel->buffer, 1, 1);
+ gui_status_draw (ptr_channel->buffer, 1);
}
}
diff --git a/weechat/src/irc/irc-server.c b/weechat/src/irc/irc-server.c
index e37622519..96d6275d5 100644
--- a/weechat/src/irc/irc-server.c
+++ b/weechat/src/irc/irc-server.c
@@ -1869,6 +1869,8 @@ server_disconnect (t_irc_server *server, int reconnect)
nick_free_all (ptr_channel);
irc_display_prefix (NULL, ptr_channel->buffer, PREFIX_INFO);
gui_printf (ptr_channel->buffer, _("Disconnected from server!\n"));
+ gui_nicklist_draw (ptr_channel->buffer, 1, 1);
+ gui_status_draw (ptr_channel->buffer, 1);
}
}