change message logic

master
mallory 2020-12-18 09:35:37 -08:00
parent fdca6da624
commit c3613f196a
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
__version__ = '1.9.6' __version__ = '1.9.7'

View File

@ -73,7 +73,7 @@ class Bot(irc.bot.SingleServerIRCBot):
self.arg = arg self.arg = arg
if text: if text:
self.text = text self.text = text
if not (cmd or text): if not (cmd==None or text==None):
raise TypeError('missing cmd or text parameter') raise TypeError('missing cmd or text parameter')
def start_logging(self): def start_logging(self):