Explorar o código

관리자는 사문 편집 가능

2DU %!s(int64=8) %!d(string=hai) anos
pai
achega
09b29af476
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      func.py

+ 3 - 0
func.py

@@ -165,6 +165,9 @@ def acl_check(name):
     if(acl_c):
         acl_n = acl_c.groups()
 
+        if(admin_check(5, None) == 1):
+            return(0)
+
         curs.execute("select acl from data where title = ?", ['사용자:' + acl_n[0]])
         acl_d = curs.fetchall()
         if(acl_d):