diff options
| author | 2014-06-13 15:45:55 +0200 | |
|---|---|---|
| committer | 2014-06-13 15:45:55 +0200 | |
| commit | 5b1ee304b5e1d71c71eec9ebf8f40758dfce5c1e (patch) | |
| tree | 015557a8b0acfa33c2c849ca413c279e5e4054a8 /src/modules/m_abbreviation.cpp | |
| parent | Remove global Commandtable typedef (diff) | |
Change allocation of InspIRCd::Parser to be physically part of the object containing it
Diffstat (limited to 'src/modules/m_abbreviation.cpp')
| -rw-r--r-- | src/modules/m_abbreviation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_abbreviation.cpp b/src/modules/m_abbreviation.cpp index a7bf8ceee..77d86cb31 100644 --- a/src/modules/m_abbreviation.cpp +++ b/src/modules/m_abbreviation.cpp @@ -42,7 +42,7 @@ class ModuleAbbreviation : public Module size_t clen = command.length() - 1; std::string foundcommand, matchlist; bool foundmatch = false; - const CommandParser::CommandMap& commands = ServerInstance->Parser->GetCommands(); + const CommandParser::CommandMap& commands = ServerInstance->Parser.GetCommands(); for (CommandParser::CommandMap::const_iterator n = commands.begin(); n != commands.end(); ++n) { if (!command.compare(0, clen, n->first, 0, clen)) |
