summaryrefslogtreecommitdiff
path: root/src/command_parse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/command_parse.cpp')
-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 2c3a482cb..e3d47e9b7 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -134,7 +134,7 @@ bool CommandParser::IsValidCommand(const std::string &commandname, int pcnt, use
{
if (n->second->flags_needed)
{
- return ((user->HasPermission(commandname)) || (ServerInstance->is_uline(user->server)));
+ return ((user->HasPermission(commandname)) || (ServerInstance->ULine(user->server)));
}
return true;
}