ect (or 2du) před 8 roky
rodič
revize
83c70a966a
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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: