Fixed a typo that broke messages.

This commit is contained in:
karxi 2016-12-11 04:01:48 -05:00
parent 4d48bdb98a
commit 7fe3c417df

4
irc.py
View file

@ -359,10 +359,12 @@ class PesterHandler(DefaultCommandHandler):
self.parent.quirkDisable.emit(chan, msg[10:-1], op) self.parent.quirkDisable.emit(chan, msg[10:-1], op)
return return
handle = nick[0:nick.find("!")] handle = nick[0:nick.find("!")]
if chan != "#pesterchum": if chan != "#pesterchum":
# We don't need anywhere near that much spam. # We don't need anywhere near that much spam.
logging.info("---> recv \"PRIVMSG %s :%s\"" % (handle, msg)) logging.info("---> recv \"PRIVMSG %s :%s\"" % (handle, msg))
elif chan == "#pesterchum":
if chan == "#pesterchum":
# follow instructions # follow instructions
if msg[0:6] == "MOOD >": if msg[0:6] == "MOOD >":
try: try: