change message logic
parent
fdca6da624
commit
c3613f196a
|
@ -1 +1 @@
|
|||
__version__ = '1.9.6'
|
||||
__version__ = '1.9.7'
|
||||
|
|
|
@ -73,7 +73,7 @@ class Bot(irc.bot.SingleServerIRCBot):
|
|||
self.arg = arg
|
||||
if text:
|
||||
self.text = text
|
||||
if not (cmd or text):
|
||||
if not (cmd==None or text==None):
|
||||
raise TypeError('missing cmd or text parameter')
|
||||
|
||||
def start_logging(self):
|
||||
|
|
Loading…
Reference in New Issue