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.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.cpp')
| -rw-r--r-- | src/modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 78b00e95e..16459eeb4 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -593,7 +593,7 @@ void ModuleManager::AddService(ServiceProvider& item) switch (item.service) { case SERVICE_COMMAND: - if (!ServerInstance->Parser->AddCommand(static_cast<Command*>(&item))) + if (!ServerInstance->Parser.AddCommand(static_cast<Command*>(&item))) throw ModuleException("Command "+std::string(item.name)+" already exists."); return; case SERVICE_MODE: |
