diff options
Diffstat (limited to 'src/modules/m_testnet.cpp')
-rw-r--r-- | src/modules/m_testnet.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_testnet.cpp b/src/modules/m_testnet.cpp index c2644dbff..1dcb73f91 100644 --- a/src/modules/m_testnet.cpp +++ b/src/modules/m_testnet.cpp @@ -214,6 +214,10 @@ class ModuleTest : public Module public: ModuleTest() : cmd(this) { + } + + void init() + { if (!strstr(ServerInstance->Config->ServerName.c_str(), ".test")) throw ModuleException("Don't load modules without reading their descriptions!"); ServerInstance->AddCommand(&cmd); |