mirror of
https://github.com/anope/anope.git
synced 2026-06-30 11:36:36 +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 "chanserv.h"
|
||||
|
||||
class CommandCSTopic : public Command
|
||||
{
|
||||
@@ -58,7 +59,7 @@ class CommandCSTopic : public Command
|
||||
"for more information.\n"
|
||||
" \n"
|
||||
"By default, limited to those with founder access on the\n"
|
||||
"channel."), ChanServ->nick.c_str(), Config->UseStrictPrivMsgString.c_str(), ChanServ->nick.c_str());
|
||||
"channel."), Config->s_ChanServ.c_str(), Config->UseStrictPrivMsgString.c_str(), Config->s_ChanServ.c_str());
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -78,7 +79,7 @@ class CSTopic : public Module
|
||||
this->SetAuthor("Anope");
|
||||
this->SetType(CORE);
|
||||
|
||||
this->AddCommand(ChanServ, &commandcstopic);
|
||||
this->AddCommand(chanserv->Bot(), &commandcstopic);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user