projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
modified modcmd to give the possibility for dynamic access (modcmd)
[NeonServV5.git]
/
cmd_neonserv_unsuspend.c
diff --git
a/cmd_neonserv_unsuspend.c
b/cmd_neonserv_unsuspend.c
index 3c5a0c1572b4fe3e9aaa7a340d04a8e5fc5e4d44..dabe1aa95fb527638d1a04a9dbb687c1141111b8 100644
(file)
--- a/
cmd_neonserv_unsuspend.c
+++ b/
cmd_neonserv_unsuspend.c
@@
-14,10
+14,6
@@
struct neonserv_cmd_unsuspend_cache {
static CMD_BIND(neonserv_cmd_unsuspend) {
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]++;