diff options
author | Adam <Adam@anope.org> | 2011-08-25 16:21:21 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-09-10 01:58:38 -0400 |
commit | f025d1b495cee3aadb6b7b45652d1cab3b7b7b6d (patch) | |
tree | 02df5a3f12104996af87d1b6c5ec9db9d45b6bde /modules/pseudoclients/global.cpp | |
parent | 8c4417cad180f3c5448c5b7509b1bf2235e3077e (diff) |
Made service_reference type safe
Diffstat (limited to 'modules/pseudoclients/global.cpp')
-rw-r--r-- | modules/pseudoclients/global.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/pseudoclients/global.cpp b/modules/pseudoclients/global.cpp index c7ccf9209..7bc002fc0 100644 --- a/modules/pseudoclients/global.cpp +++ b/modules/pseudoclients/global.cpp @@ -57,8 +57,6 @@ class GlobalCore : public Module if (Global == NULL) throw ModuleException("No bot named " + Config->Global); - ModuleManager::RegisterService(&this->myglobalservice); - Implementation i[] = { I_OnRestart, I_OnShutdown, I_OnNewServer, I_OnPreHelp }; ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation)); } |