diff --git a/src/bot.rs b/src/bot.rs index 5d903dc..2e86961 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -64,6 +64,7 @@ impl XmppClient { } } Event::Disconnected => { + self.is_online = false; debug!("XMPP Disconnected"); } _ => {