tBKwtWS 7 anos atrás
pai
commit
39547c202b
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      irc/common/queries.py

+ 1 - 1
irc/common/queries.py

@@ -9,7 +9,7 @@ def create_ifnot_onrecord(self, table, name):
         
         # Correct capitalisation if needed.
         if not name == record[0]:
-            self.db.run("UPDATE " + table + " SET name=%s, WHERE LOWER(name)=LOWER(%s) AND network=%s", (name, name, self.network, ))
+            self.db.run("UPDATE " + table + " SET name=%s WHERE LOWER(name)=LOWER(%s) AND network=%s", (name, name, self.network, ))
     
     # Create record.
     else: