diff options
author | 2016-01-10 01:12:35 +0100 | |
---|---|---|
committer | 2016-01-10 01:12:35 +0100 | |
commit | 275ecd47f14ebee8309de1e1f13d090ca50c38fe (patch) | |
tree | f9c22e6fc16f376fcc6f34df9f86af3a300fbabe /module/plugins/hooks/IRC.py | |
parent | [ExternalScripts] Update (diff) | |
download | pyload-275ecd47f14ebee8309de1e1f13d090ca50c38fe.tar.xz |
"is" is evil (2)
Diffstat (limited to 'module/plugins/hooks/IRC.py')
-rw-r--r-- | module/plugins/hooks/IRC.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/IRC.py b/module/plugins/hooks/IRC.py index 65ae2a356..91f9ddf5e 100644 --- a/module/plugins/hooks/IRC.py +++ b/module/plugins/hooks/IRC.py @@ -19,7 +19,7 @@ from module.internal.misc import formatSize class IRC(Thread, Notifier): __name__ = "IRC" __type__ = "hook" - __version__ = "0.19" + __version__ = "0.20" __status__ = "testing" __config__ = [("activated", "bool", "Activated" , False ), @@ -155,7 +155,7 @@ class IRC(Thread, Notifier): if not msg['origin'].split("!", 1)[0] in self.config.get('owner').split(): return - if msg['target'].split("!", 1)[0] is not self.config.get('nick'): + if msg['target'].split("!", 1)[0] != self.config.get('nick'): return if msg['action'] != "PRIVMSG": |