X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodmanager_static.cpp;h=44c36919bbb606dd16f031fd9a97a237d2af19ba;hb=3ae91bafe711b26ffae1aa27cfd4f5fe7bfc2347;hp=c82ee3f7ae3e901f38e7c01249d695741bc7f666;hpb=e0cb6bd46fb1d804ad6adea5688c844f7e1a0f6f;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modmanager_static.cpp b/src/modmanager_static.cpp index c82ee3f7a..44c36919b 100644 --- a/src/modmanager_static.cpp +++ b/src/modmanager_static.cpp @@ -58,7 +58,7 @@ class AllModule : public Module { Command* c = (*i)(this); cmds.push_back(c); - ServerInstance->AddCommand(c); + ServerInstance->Modules->AddService(*c); } } catch (...)