Explorar el Código

관리자는 사문 편집 가능

2DU hace 8 años
padre
commit
09b29af476
Se han modificado 1 ficheros con 3 adiciones y 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):