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 e5fc8fd7d..0c61fd8b1 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -596,7 +596,7 @@ void CommandParser::ProcessCommand(userrec *user, char* cmd)
return;
}
}
- if ((user->registered == 7) && (!strchr(user->modes,'o')))
+ if ((user->registered == 7) && (!*user->oper))
{
std::stringstream dcmds(Config->DisabledCommands);
while (!dcmds.eof())