X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcommand_parse.cpp;h=0c61fd8b1ec24fe7b8392152e47a2f758eafa3b6;hb=feaf72ecb48470114fbe3f3058b5f4b9622b88a5;hp=e5fc8fd7d9b34575b699f6d6cb92ed0de468bf37;hpb=9b4ff0ba5d363b6e1557666861932fa0ab527e7f;p=user%2Fhenk%2Fcode%2Finspircd.git 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())