execute mysql_check only if a query fails.
[NeonServV5.git] / cmd_neonserv_clvl.c
index 1aa00aad0d1c0080d674d5238111ffe98bb2bc6b..51bab6a502e8711f2fb82a96921d22fe79830c54 100644 (file)
@@ -16,7 +16,6 @@ struct neonserv_cmd_clvl_cache {
 
 static CMD_BIND(neonserv_cmd_clvl) {
     int caccess;
-    check_mysql();
     caccess = atoi(argv[1]);
     if(caccess <= 0 || caccess > 500) {
         reply(getTextBot(), user, "NS_INVALID_ACCESS", caccess);