From 1f5ef7d994ac670b1620d63185d58bba160377ff Mon Sep 17 00:00:00 2001 From: Thorsten Date: Sat, 28 Nov 2015 15:59:28 +0100 Subject: [PATCH] xmpp status/message confusion fixed --- urlbot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/urlbot.py b/urlbot.py index c3d22bb..141cbc5 100755 --- a/urlbot.py +++ b/urlbot.py @@ -118,8 +118,8 @@ class UrlBot(IdleBot): """ Send a reply to a message """ - if self.status is not None: - self.logger.warn("I'm muted!") + if self.show: + self.logger.warn("I'm muted! (status: %s)" % self.show) return set_conf('request_counter', conf('request_counter') + 1)