diff options
Diffstat (limited to 'src/modules/m_testnet.cpp')
-rw-r--r-- | src/modules/m_testnet.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_testnet.cpp b/src/modules/m_testnet.cpp index 1dcb73f91..401766d8a 100644 --- a/src/modules/m_testnet.cpp +++ b/src/modules/m_testnet.cpp @@ -220,7 +220,7 @@ class ModuleTest : public Module { if (!strstr(ServerInstance->Config->ServerName.c_str(), ".test")) throw ModuleException("Don't load modules without reading their descriptions!"); - ServerInstance->AddCommand(&cmd); + ServerInstance->Modules->AddService(cmd); } Version GetVersion() |