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 6f7633cc9..916f480fd 100644 --- a/src/cmd_modules.cpp +++ b/src/cmd_modules.cpp @@ -60,7 +60,7 @@ CmdResult cmd_modules::Handle (const char** parameters, int pcnt, userrec *user) if (!flagstate[0]) strcpy(flagstate," <no flags>"); strlcpy(modulename,ServerInstance->Config->module_names[i].c_str(),256); - if (*user->oper) + if (IS_OPER(user)) { user->WriteServ("900 %s :0x%08lx %d.%d.%d.%d %s (%s)",user->nick,ServerInstance->modules[i],V.Major,V.Minor,V.Revision,V.Build,ServerConfig::CleanFilename(modulename),flagstate+2); } |