From 7fe3c417dfdf73f649a66ff1fb739aad2f76ba71 Mon Sep 17 00:00:00 2001 From: karxi Date: Sun, 11 Dec 2016 04:01:48 -0500 Subject: [PATCH] Fixed a typo that broke messages. --- irc.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/irc.py b/irc.py index 7d7602d..cc73813 100644 --- a/irc.py +++ b/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: