Version GetVersion() CXX11_OVERRIDE
{
- return Version("A module which logs all oper commands to the ircd log at default loglevel.", VF_VENDOR);
+ return Version("Provides logging of all oper commands to the ircd log at the default loglevel", VF_VENDOR);
}
void ReadConfig(ConfigStatus& status) CXX11_OVERRIDE
if (!validated)
return MOD_RES_PASSTHRU;
- if ((user->IsOper()) && (user->HasPermission(command)))
+ if ((user->IsOper()) && (user->HasCommandPermission(command)))
{
Command* thiscommand = ServerInstance->Parser.GetHandler(command);
if ((thiscommand) && (thiscommand->flags_needed == 'o'))