X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodules%2Fm_alltime.cpp;h=38ae4b254f7c7853ab30d99d7c0d5975e8ffa02b;hb=748b3a0d89e7ecc9a766471b79fb78f63a5ca2bb;hp=682e94cd8b2e3e445f1975111ddbcb7f1491c681;hpb=ac7defcd3e52695dcf5e5150e9fe3e1624205e64;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modules/m_alltime.cpp b/src/modules/m_alltime.cpp index 682e94cd8..38ae4b254 100644 --- a/src/modules/m_alltime.cpp +++ b/src/modules/m_alltime.cpp @@ -64,7 +64,7 @@ class Modulealltime : public Module void init() { - ServerInstance->AddCommand(&mycommand); + ServerInstance->Modules->AddService(mycommand); } virtual ~Modulealltime()