diff options
-rw-r--r-- | src/irc/irc-server.c | 1 | ||||
-rw-r--r-- | weechat/src/irc/irc-server.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/irc/irc-server.c b/src/irc/irc-server.c index ac9b9d21f..3fa6e745a 100644 --- a/src/irc/irc-server.c +++ b/src/irc/irc-server.c @@ -808,6 +808,7 @@ server_disconnect (t_irc_server *server, int reconnect) server->is_connected = 0; server->is_away = 0; + server->away_time = 0; if ((reconnect) && (server->autoreconnect)) { diff --git a/weechat/src/irc/irc-server.c b/weechat/src/irc/irc-server.c index ac9b9d21f..3fa6e745a 100644 --- a/weechat/src/irc/irc-server.c +++ b/weechat/src/irc/irc-server.c @@ -808,6 +808,7 @@ server_disconnect (t_irc_server *server, int reconnect) server->is_connected = 0; server->is_away = 0; + server->away_time = 0; if ((reconnect) && (server->autoreconnect)) { |