diff --git a/scripts/chatbot.py b/scripts/chatbot.py
index f247e69c451d9263dbc9f2f1f2290f873766f9ca..b188a24127fcf3aae33e9b71f8a43f0b62497169 100644
--- a/scripts/chatbot.py
+++ b/scripts/chatbot.py
@@ -74,7 +74,7 @@ def register_handlers(bot):
         if channel_id != CHANNEL_ID:
             print("skipping")
             return
-        if not is_shifter(user) and not is_operator():
+        if not is_shifter(user) and not is_operator(user):
             bot.send_message(
                 "Only operators and shifters are allowed to mess "
                 "with me, sorry...", channel_id)