projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
execute mysql_check only if a query fails.
[NeonServV5.git]
/
cmd_neonserv_deopall.c
diff --git
a/cmd_neonserv_deopall.c
b/cmd_neonserv_deopall.c
index 8fe1f8248a82f42bf505d566db6ad3baa0af972f..92d5b2fb61e4d4e1ac7f177191b23e095b88cdb2 100644
(file)
--- a/
cmd_neonserv_deopall.c
+++ b/
cmd_neonserv_deopall.c
@@
-45,7
+45,6
@@
static void neonserv_cmd_deopall_async1(struct ClientSocket *client, struct Clie
char *nickmask = NULL;
struct ChanUser *chanuser;
struct ModeBuffer *modeBuf;
- check_mysql();
if(!checkChannelAccess(user, chan, "channel_canop", 1, 0)) {
reply(getTextBot(), user, "NS_ACCESS_DENIED");
return;