change message logic
This commit is contained in:
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
|
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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user