diff options
Diffstat (limited to 'src/cmd_modules.cpp')
-rw-r--r-- | src/cmd_modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_modules.cpp b/src/cmd_modules.cpp index 460290edc..0a7108267 100644 --- a/src/cmd_modules.cpp +++ b/src/cmd_modules.cpp @@ -96,7 +96,7 @@ void cmd_modules::Handle (char **parameters, int pcnt, userrec *user) if (!flagstate[0]) strcpy(flagstate," <no flags>"); strlcpy(modulename,Config->module_names[i].c_str(),256); - if (strchr(user->modes,'o')) + if (*user->oper) { if ((pcnt >= 2) && (!strcasecmp(parameters[0],"debug"))) { |