mirror of
https://github.com/anope/anope.git
synced 2026-06-27 22:36:39 +02:00
Convert all the derived module constructors to take the new parameter (sed must be worshipped). They still call the base constructor the wrong way.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1577 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
@@ -20,7 +20,7 @@ int do_fantasy(int argc, char **argv);
|
||||
class BSFantasyUnban : public Module
|
||||
{
|
||||
public:
|
||||
BSFantasyUnban(const std::string &creator) : Module(creator)
|
||||
BSFantasyUnban(const std::string &modname, const std::string &creator) : Module(creator)
|
||||
{
|
||||
EvtHook *hook;
|
||||
|
||||
|
||||
@@ -56,7 +56,7 @@ void my_add_languages(void);
|
||||
class CSAppendTopic : public Module
|
||||
{
|
||||
public:
|
||||
CSAppendTopic(const std::string &creator) : Module(creator)
|
||||
CSAppendTopic(const std::string &modname, const std::string &creator) : Module(creator)
|
||||
{
|
||||
Command *c;
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ void my_add_languages(void);
|
||||
class CSEnforce : public Module
|
||||
{
|
||||
public:
|
||||
CSEnforce(const std::string &creator) : Module(creator)
|
||||
CSEnforce(const std::string &modname, const std::string &creator) : Module(creator)
|
||||
{
|
||||
Command *c;
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ void mAddLanguages(void);
|
||||
class CSTBan : public Module
|
||||
{
|
||||
public:
|
||||
CSTBan(const std::string &creator) : Module(creator)
|
||||
CSTBan(const std::string &modname, const std::string &creator) : Module(creator)
|
||||
{
|
||||
Command *c;
|
||||
|
||||
|
||||
@@ -86,7 +86,7 @@ HostCore *hs_request_head;
|
||||
class HSRequest : public Module
|
||||
{
|
||||
public:
|
||||
HSRequest(const std::string &creator) : Module(creator)
|
||||
HSRequest(const std::string &modname, const std::string &creator) : Module(creator)
|
||||
{
|
||||
Command *c;
|
||||
EvtHook *hook;
|
||||
|
||||
@@ -33,7 +33,7 @@ int NSEmailMax = 0;
|
||||
class NSMaxEmail : public Module
|
||||
{
|
||||
public:
|
||||
NSMaxEmail(const std::string &creator) : Module(creator)
|
||||
NSMaxEmail(const std::string &modname, const std::string &creator) : Module(creator)
|
||||
{
|
||||
Command *c;
|
||||
EvtHook *evt;
|
||||
|
||||
@@ -62,7 +62,7 @@ void m_AddLanguages(void);
|
||||
class NSNOOPConvert : public Module
|
||||
{
|
||||
public:
|
||||
NSNOOPConvert(const std::string &creator) : Module(creator)
|
||||
NSNOOPConvert(const std::string &modname, const std::string &creator) : Module(creator)
|
||||
{
|
||||
NSAutoOPDBName = NULL;
|
||||
|
||||
|
||||
@@ -79,7 +79,7 @@ int reload_config(int argc, char **argv);
|
||||
class OSIgnoreDB : public Module
|
||||
{
|
||||
public:
|
||||
OSIgnoreDB(const std::string &creator) : Module(creator)
|
||||
OSIgnoreDB(const std::string &modname, const std::string &creator) : Module(creator)
|
||||
{
|
||||
EvtHook *hook;
|
||||
IgnoreDB = NULL;
|
||||
|
||||
@@ -64,7 +64,7 @@ int mEventReload(int argc, char **argv);
|
||||
class OSInfo : public Module
|
||||
{
|
||||
public:
|
||||
OSInfo(const std::string &creator) : Module(creator)
|
||||
OSInfo(const std::string &modname, const std::string &creator) : Module(creator)
|
||||
{
|
||||
Command *c;
|
||||
EvtHook *hook = NULL;
|
||||
|
||||
Reference in New Issue
Block a user