about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2020-03-12 01:09:09 -0400
committerBen Harris <ben@tilde.team>2020-03-12 01:09:09 -0400
commit9a858e9a296e4ce94d7a797488ad6579f4eeca69 (patch)
tree0fbf3b6acdc4ad1def0251054891ab90c1818323
parenta0306cdb4cf899e47c0627bb9ee4174110aa441a (diff)
did a dumb
-rw-r--r--tooter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tooter.py b/tooter.py
index 270be4b..6dbe28b 100644
--- a/tooter.py
+++ b/tooter.py
@@ -35,7 +35,7 @@ def think(line):
     chan = line.params.pop(0)
     words = line.params[0].split(" ")
 
-    if len(words) > 0 and irctokens.hostmask.nickname != botnick:
+    if len(words) > 0 and line.hostmask.nickname != botnick:
         if words[0] == "!toot":
             status = emoji.emojize(" ".join(words[1:]), use_aliases=True)
             print(f"{status} posted by {nick}")