diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 2e300df95..c3426c913 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -1568,7 +1568,7 @@ bool is_valid_cmd(const char* commandname, int pcnt, userrec * user) { if (cmdlist[i].handler_function) { - if (pcnt>=cmdlist[i].min_params) + if ((pcnt>=cmdlist[i].min_params) && (strcasecmp(cmdlist[i].source,"<core>"))) { if (strchr(user->modes,cmdlist[i].flags_needed)) { |