aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_operlog.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2014-06-13 15:45:55 +0200
committerGravatar Attila Molnar2014-06-13 15:45:55 +0200
commit5b1ee304b5e1d71c71eec9ebf8f40758dfce5c1e (patch)
tree015557a8b0acfa33c2c849ca413c279e5e4054a8 /src/modules/m_operlog.cpp
parentRemove global Commandtable typedef (diff)
Change allocation of InspIRCd::Parser to be physically part of the object containing it
Diffstat (limited to 'src/modules/m_operlog.cpp')
-rw-r--r--src/modules/m_operlog.cpp2
1 files changed, 1 insertions, 1 deletions
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);