From 9aafeb87fd0f0d1d6c16870fd2e6b6368d2ed294 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Thu, 12 Mar 2020 01:06:05 -0400 Subject: upgrade irctokens --- tracer.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tracer.py') 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: -- cgit 1.4.1