diff options
Diffstat (limited to 'src/core/ss_main.c')
-rw-r--r-- | src/core/ss_main.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/core/ss_main.c b/src/core/ss_main.c index 8ff8080b9..6405c8858 100644 --- a/src/core/ss_main.c +++ b/src/core/ss_main.c @@ -42,7 +42,6 @@ class SSMain : public Module this->SetPermanent(true); this->AddCommand(cmdTable, new CommandSSHelp()); - ModuleManager::Attach(I_OnBotPreLoad, this); statserv = findbot("StatServ"); if (!statserv) @@ -72,16 +71,6 @@ class SSMain : public Module delete statserv; } } - - void OnBotPreLoad(BotInfo *bi) - { - if (bi->nick == "StatServ") - { - delete statserv; - statserv = bi; - statserv->cmdTable = cmdTable; - } - } }; MODULE_INIT(SSMain) |