2
0
ect (or 2du) 8 жил өмнө
parent
commit
83c70a966a
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: