ect (or 2du) пре 8 година
родитељ
комит
14d98c94ec
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      func.py

+ 1 - 1
func.py

@@ -484,7 +484,7 @@ def re_error(conn, data):
             if not end_data:
                 match = re.search("^([0-9]{1,3}\.[0-9]{1,3})", ip)
                 if match:
-                    curs.execute("select end, why from ban where block = ? and band = 'O'", [m.groups()[0]])
+                    curs.execute("select end, why from ban where block = ? and band = 'O'", [match.groups()[0]])
                     end_data = curs.fetchall()
             
             if end_data: