tBKwtWS 7 năm trước cách đây
mục cha
commit
39547c202b
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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: