about summary refs log tree commit diff
path: root/tracer.py
diff options
context:
space:
mode:
Diffstat (limited to 'tracer.py')
-rw-r--r--tracer.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tracer.py b/tracer.py
index b9a7f67..e634fcd 100644
--- a/tracer.py
+++ b/tracer.py
@@ -117,9 +117,8 @@ def send(chan, msg):
 def think(line):
     chan = line.params.pop(0)
     words = line.params[0].split(" ")
-    nick = irctokens.Hostmask(line.source).nickname
 
-    if len(words) > 0 and nick != bot["nick"]:
+    if len(words) > 0 and line.hostmask.nickname != bot["nick"]:
         if words[0] == "!!list":
             res = ""
             for k in DB: