projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
recheck userlist before execute cmd_deop or cmd_deopall
[NeonServV5.git]
/
cmd_neonserv_suspend.c
diff --git
a/cmd_neonserv_suspend.c
b/cmd_neonserv_suspend.c
index 8c991ad145f8a2cf83b2cfe8dd958b06a06aa55d..bb6db50f0aa4cb5e995c8c4d2da04161924d8722 100644
(file)
--- a/
cmd_neonserv_suspend.c
+++ b/
cmd_neonserv_suspend.c
@@
-14,10
+14,6
@@
struct neonserv_cmd_suspend_cache {
static CMD_BIND(neonserv_cmd_suspend) {
check_mysql();
- if(!checkChannelAccess(user, chan, "channel_cansuspend", 1, 0)) {
- reply(getTextBot(), user, "NS_ACCESS_DENIED");
- return;
- }
if(argv[0][0] == '*') {
//we've got an auth
argv[0]++;