mirror of
https://github.com/anope/anope.git
synced 2026-07-04 06:23:14 +02:00
Moved the core pseudo clients out into their own modules
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
/*************************************************************************/
|
||||
|
||||
#include "module.h"
|
||||
#include "memoserv.h"
|
||||
|
||||
class CommandMSCheck : public Command
|
||||
{
|
||||
@@ -92,7 +93,10 @@ class MSCheck : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(MemoServ, &commandmscheck);
|
||||
if (!memoserv)
|
||||
throw ModuleException("MemoServ is not loaded!");
|
||||
|
||||
this->AddCommand(memoserv->Bot(), &commandmscheck);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user