projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added "nowho" parameter to debug userlist and fixed memory leak in DBHelper.c
[NeonServV5.git]
/
src
/
cmd_global_command.c
diff --git
a/src/cmd_global_command.c
b/src/cmd_global_command.c
index 59a2a93496b252876601aafcdea027223063575a..594ea1bc4002f27672e8e708e013813fa2c5b0c4 100644
(file)
--- a/
src/cmd_global_command.c
+++ b/
src/cmd_global_command.c
@@
-138,6
+138,10
@@
static int global_cmd_command_chanaccess(struct cmd_binding *cbind, struct ChanN
*str_b = '\0';
str_b++;
}
+ if(*str_a == '@' || *str_a == '+') {
+ //privs can override this access requirement
+ str_a++;
+ }
if(*str_a == '#') {
str_a++;
access_pos += sprintf(access_list+access_pos, (access_pos ? ", `%s`" : "`%s`"), str_a);