aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_showfile.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_showfile.cpp
parentRemove global Commandtable typedef (diff)
downloadinspircd++-5b1ee304b5e1d71c71eec9ebf8f40758dfce5c1e.tar.gz
inspircd++-5b1ee304b5e1d71c71eec9ebf8f40758dfce5c1e.tar.bz2
inspircd++-5b1ee304b5e1d71c71eec9ebf8f40758dfce5c1e.zip
Change allocation of InspIRCd::Parser to be physically part of the object containing it
Diffstat (limited to 'src/modules/m_showfile.cpp')
-rw-r--r--src/modules/m_showfile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_showfile.cpp b/src/modules/m_showfile.cpp
index c42877eef..132a22267 100644
--- a/src/modules/m_showfile.cpp
+++ b/src/modules/m_showfile.cpp
@@ -104,7 +104,7 @@ class ModuleShowFile : public Module
FileReader reader(file);
CommandShowFile* sfcmd;
- Command* handler = ServerInstance->Parser->GetHandler(cmdname);
+ Command* handler = ServerInstance->Parser.GetHandler(cmdname);
if (handler)
{
// Command exists, check if it is ours