Fixed a typo that broke messages.
This commit is contained in:
parent
4d48bdb98a
commit
7fe3c417df
1 changed files with 3 additions and 1 deletions
4
irc.py
4
irc.py
|
@ -359,10 +359,12 @@ class PesterHandler(DefaultCommandHandler):
|
|||
self.parent.quirkDisable.emit(chan, msg[10:-1], op)
|
||||
return
|
||||
handle = nick[0:nick.find("!")]
|
||||
|
||||
if chan != "#pesterchum":
|
||||
# We don't need anywhere near that much spam.
|
||||
logging.info("---> recv \"PRIVMSG %s :%s\"" % (handle, msg))
|
||||
elif chan == "#pesterchum":
|
||||
|
||||
if chan == "#pesterchum":
|
||||
# follow instructions
|
||||
if msg[0:6] == "MOOD >":
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue