fix for listeners

master v1.9.7
mallory 2020-12-18 09:48:21 -08:00
parent c3613f196a
commit d528213c5f
1 changed files with 1 additions and 1 deletions

View File

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