aboutsummaryrefslogtreecommitdiff
path: root/src/command_parse.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/command_parse.cpp
parentRemove global Commandtable typedef (diff)
Change allocation of InspIRCd::Parser to be physically part of the object containing it
Diffstat (limited to 'src/command_parse.cpp')
-rw-r--r--src/command_parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index 82bfe0962..eed549deb 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -333,7 +333,7 @@ CommandBase::~CommandBase()
Command::~Command()
{
- ServerInstance->Parser->RemoveCommand(this);
+ ServerInstance->Parser.RemoveCommand(this);
}
void CommandParser::ProcessBuffer(std::string &buffer,LocalUser *user)