xmpp status/message confusion fixed

This commit is contained in:
Thorsten
2015-11-28 15:59:28 +01:00
parent bef3130256
commit 1f5ef7d994

View File

@@ -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)