diff --git a/sweebot.py b/sweebot.py
index 92d8388..5e19d24 100644
--- a/sweebot.py
+++ b/sweebot.py
@@ -341,7 +341,6 @@ irl3 = threading.Thread(target=irci3, daemon=True)
 irl3.start()
 ticker=0
 while True:
-    global lastquery
     teext = irc.response_irc().split("\r\n")
     for text in teext:
         if text != "":