summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/command_parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index a155a6207..d38a6bbca 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -253,7 +253,7 @@ CmdResult CommandParser::CallHandler(const std::string &commandname,const char**
{
if (n->second->flags_needed)
{
- if ((user->HasPermission(commandname)) || (!IS_LOCAL(user)))
+ if (IS_REMOTE(user) || user->HasPermission(commandname))
{
return n->second->Handle(parameters,pcnt,user);
}