X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_abbreviation.cpp;h=77d86cb3167ba5de06b8ed1a37197c8b88e3718b;hb=bdc70892c647f0d7672aba413100730819a4b217;hp=a7bf8ceeebd8532e3b60b3ad81f72ecba1b41ac9;hpb=085a8a34cb0b1bd97bba76fff15820fb57aa50e4;p=user%2Fhenk%2Fcode%2Finspircd.git 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))