X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_operlog.cpp;h=68f50bf6d046e47ebbc77067321b54b225afdd75;hb=acccaa39641500b8a691db4136e6571102a438ed;hp=d015d5ead0427a6f3b5f880a9d43c76b486629aa;hpb=f09a9b3ea537f17ee52337773a5eba321ff1ccd7;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_operlog.cpp b/src/modules/m_operlog.cpp index d015d5ead..68f50bf6d 100644 --- a/src/modules/m_operlog.cpp +++ b/src/modules/m_operlog.cpp @@ -49,7 +49,7 @@ class ModuleOperLog : public Module if ((user->IsOper()) && (user->HasPermission(command))) { - Command* thiscommand = ServerInstance->Parser->GetHandler(command); + Command* thiscommand = ServerInstance->Parser.GetHandler(command); if ((thiscommand) && (thiscommand->flags_needed == 'o')) { std::string msg = "[" + user->GetFullRealHost() + "] " + command + " " + irc::stringjoiner(parameters);