diff options
| author | jason | 2012-07-21 05:13:55 -0600 |
|---|---|---|
| committer | jason | 2012-07-21 05:13:55 -0600 |
| commit | a195443e5eb259a63de0a55ba9b1df5c757067ed (patch) | |
| tree | 9bf0d9abe9d7e46dfe9cbe0c5a5271dad29d5bdb | |
| parent | 9dcfb0d64820e883eb75529f8683ee3dcae52a67 (diff) | |
| download | warmachine-a195443e5eb259a63de0a55ba9b1df5c757067ed.tar.gz warmachine-a195443e5eb259a63de0a55ba9b1df5c757067ed.zip | |
Added a hack to support !commands.
| -rwxr-xr-x | warmachine.py | 2 |
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 |