summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjason2012-07-21 05:13:55 -0600
committerjason2012-07-21 05:13:55 -0600
commita195443e5eb259a63de0a55ba9b1df5c757067ed (patch)
tree9bf0d9abe9d7e46dfe9cbe0c5a5271dad29d5bdb
parent9dcfb0d64820e883eb75529f8683ee3dcae52a67 (diff)
downloadwarmachine-a195443e5eb259a63de0a55ba9b1df5c757067ed.tar.gz
warmachine-a195443e5eb259a63de0a55ba9b1df5c757067ed.zip
Added a hack to support !commands.
-rwxr-xr-xwarmachine.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/warmachine.py b/warmachine.py
index 04746ac..1134c75 100755
--- a/warmachine.py
+++ b/warmachine.py
@@ -79,7 +79,7 @@ class IRC(object):
79 if pa: 79 if pa:
80 self.send(pa) 80 self.send(pa)
81 81
82 if obj_data.params.find(self.nick + ':') > -1: 82 if obj_data.params.find(self.nick + ':') > -1 or obj_data.params.find(':!') > -1:
83 curuser = obj_data.getUsername() 83 curuser = obj_data.getUsername()
84 if curuser not in user: 84 if curuser not in user:
85 continue 85 continue