modified modcmd to give the possibility for dynamic access (modcmd)
[NeonServV5.git] / cmd_neonserv_clvl.c
index d0ce7a4eac9bfdb5a777206f108628b3d5c9a88d..1aa00aad0d1c0080d674d5238111ffe98bb2bc6b 100644 (file)
@@ -17,10 +17,6 @@ struct neonserv_cmd_clvl_cache {
 static CMD_BIND(neonserv_cmd_clvl) {
     int caccess;
     check_mysql();
-    if(!checkChannelAccess(user, chan, "channel_canclvl", 1, 0)) {
-        reply(getTextBot(), user, "NS_ACCESS_DENIED");
-        return;
-    }
     caccess = atoi(argv[1]);
     if(caccess <= 0 || caccess > 500) {
         reply(getTextBot(), user, "NS_INVALID_ACCESS", caccess);