summaryrefslogtreecommitdiffstats
path: root/module/network
diff options
context:
space:
mode:
Diffstat (limited to 'module/network')
-rw-r--r--module/network/XdccRequest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/network/XdccRequest.py b/module/network/XdccRequest.py
index ce764eb12..e6d714b25 100644
--- a/module/network/XdccRequest.py
+++ b/module/network/XdccRequest.py
@@ -190,7 +190,7 @@ class XdccRequest:
continue
m = re.match('\x01DCC SEND (.*?) (.*?) (.*?) (.*?)\x01', msg["text"])
- if m != None:
+ if m is not None:
break
# kill IRC socket