summaryrefslogtreecommitdiff
path: root/modules/commands
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-04-10 22:26:40 -0500
committerAdam <Adam@anope.org>2013-04-10 22:26:40 -0500
commit207c46c871e85b55ae66acc456c6bc412c0c79f9 (patch)
tree27b07dc9d1e0ee068872ec7841920eea9b846b65 /modules/commands
parent957cb2bf93d77a5ebb97d945b0656bd1e7bec164 (diff)
Move some of the modules in extras/ that arent really extra out of extras. Mark our modules as VENDOR and allow modules to have multple types.
Diffstat (limited to 'modules/commands')
-rw-r--r--modules/commands/bs_assign.cpp3
-rw-r--r--modules/commands/bs_badwords.cpp3
-rw-r--r--modules/commands/bs_bot.cpp3
-rw-r--r--modules/commands/bs_botlist.cpp3
-rw-r--r--modules/commands/bs_control.cpp3
-rw-r--r--modules/commands/bs_info.cpp3
-rw-r--r--modules/commands/bs_kick.cpp3
-rw-r--r--modules/commands/bs_set.cpp3
-rw-r--r--modules/commands/cs_access.cpp3
-rw-r--r--modules/commands/cs_akick.cpp3
-rw-r--r--modules/commands/cs_ban.cpp3
-rw-r--r--modules/commands/cs_clone.cpp3
-rw-r--r--modules/commands/cs_drop.cpp3
-rw-r--r--modules/commands/cs_enforce.cpp3
-rw-r--r--modules/commands/cs_entrymsg.cpp3
-rw-r--r--modules/commands/cs_fantasy_stats.cpp3
-rw-r--r--modules/commands/cs_fantasy_top.cpp3
-rw-r--r--modules/commands/cs_flags.cpp3
-rw-r--r--modules/commands/cs_getkey.cpp3
-rw-r--r--modules/commands/cs_info.cpp3
-rw-r--r--modules/commands/cs_invite.cpp3
-rw-r--r--modules/commands/cs_kick.cpp3
-rw-r--r--modules/commands/cs_list.cpp3
-rw-r--r--modules/commands/cs_log.cpp3
-rw-r--r--modules/commands/cs_mode.cpp3
-rw-r--r--modules/commands/cs_register.cpp3
-rw-r--r--modules/commands/cs_seen.cpp3
-rw-r--r--modules/commands/cs_set.cpp3
-rw-r--r--modules/commands/cs_set_misc.cpp3
-rw-r--r--modules/commands/cs_status.cpp3
-rw-r--r--modules/commands/cs_suspend.cpp3
-rw-r--r--modules/commands/cs_sync.cpp3
-rw-r--r--modules/commands/cs_topic.cpp3
-rw-r--r--modules/commands/cs_unban.cpp3
-rw-r--r--modules/commands/cs_updown.cpp3
-rw-r--r--modules/commands/cs_xop.cpp3
-rw-r--r--modules/commands/gl_global.cpp3
-rw-r--r--modules/commands/help.cpp3
-rw-r--r--modules/commands/hs_del.cpp3
-rw-r--r--modules/commands/hs_group.cpp3
-rw-r--r--modules/commands/hs_list.cpp3
-rw-r--r--modules/commands/hs_off.cpp3
-rw-r--r--modules/commands/hs_on.cpp3
-rw-r--r--modules/commands/hs_request.cpp3
-rw-r--r--modules/commands/hs_set.cpp3
-rw-r--r--modules/commands/ms_cancel.cpp3
-rw-r--r--modules/commands/ms_check.cpp3
-rw-r--r--modules/commands/ms_del.cpp3
-rw-r--r--modules/commands/ms_ignore.cpp3
-rw-r--r--modules/commands/ms_info.cpp3
-rw-r--r--modules/commands/ms_list.cpp3
-rw-r--r--modules/commands/ms_read.cpp3
-rw-r--r--modules/commands/ms_rsend.cpp3
-rw-r--r--modules/commands/ms_send.cpp3
-rw-r--r--modules/commands/ms_sendall.cpp3
-rw-r--r--modules/commands/ms_set.cpp3
-rw-r--r--modules/commands/ms_staff.cpp3
-rw-r--r--modules/commands/ns_access.cpp3
-rw-r--r--modules/commands/ns_ajoin.cpp3
-rw-r--r--modules/commands/ns_alist.cpp3
-rw-r--r--modules/commands/ns_cert.cpp3
-rw-r--r--modules/commands/ns_drop.cpp3
-rw-r--r--modules/commands/ns_getemail.cpp3
-rw-r--r--modules/commands/ns_getpass.cpp3
-rw-r--r--modules/commands/ns_group.cpp3
-rw-r--r--modules/commands/ns_identify.cpp3
-rw-r--r--modules/commands/ns_info.cpp3
-rw-r--r--modules/commands/ns_list.cpp3
-rw-r--r--modules/commands/ns_logout.cpp3
-rw-r--r--modules/commands/ns_recover.cpp3
-rw-r--r--modules/commands/ns_register.cpp3
-rw-r--r--modules/commands/ns_resetpass.cpp3
-rw-r--r--modules/commands/ns_set.cpp3
-rw-r--r--modules/commands/ns_set_misc.cpp3
-rw-r--r--modules/commands/ns_status.cpp3
-rw-r--r--modules/commands/ns_suspend.cpp3
-rw-r--r--modules/commands/ns_update.cpp3
-rw-r--r--modules/commands/os_akill.cpp3
-rw-r--r--modules/commands/os_chankill.cpp3
-rw-r--r--modules/commands/os_config.cpp3
-rw-r--r--modules/commands/os_defcon.cpp3
-rw-r--r--modules/commands/os_dns.cpp3
-rw-r--r--modules/commands/os_forbid.cpp3
-rw-r--r--modules/commands/os_ignore.cpp3
-rw-r--r--modules/commands/os_jupe.cpp3
-rw-r--r--modules/commands/os_kick.cpp3
-rw-r--r--modules/commands/os_kill.cpp3
-rw-r--r--modules/commands/os_list.cpp3
-rw-r--r--modules/commands/os_login.cpp3
-rw-r--r--modules/commands/os_logsearch.cpp3
-rw-r--r--modules/commands/os_mode.cpp3
-rw-r--r--modules/commands/os_modinfo.cpp199
-rw-r--r--modules/commands/os_module.cpp3
-rw-r--r--modules/commands/os_news.cpp3
-rw-r--r--modules/commands/os_noop.cpp3
-rw-r--r--modules/commands/os_oline.cpp3
-rw-r--r--modules/commands/os_oper.cpp3
-rw-r--r--modules/commands/os_reload.cpp3
-rw-r--r--modules/commands/os_session.cpp3
-rw-r--r--modules/commands/os_set.cpp3
-rw-r--r--modules/commands/os_shutdown.cpp3
-rw-r--r--modules/commands/os_stats.cpp3
-rw-r--r--modules/commands/os_svs.cpp3
-rw-r--r--modules/commands/os_sxline.cpp3
-rw-r--r--modules/commands/os_update.cpp3
105 files changed, 182 insertions, 329 deletions
diff --git a/modules/commands/bs_assign.cpp b/modules/commands/bs_assign.cpp
index 93cb5f907..027193f62 100644
--- a/modules/commands/bs_assign.cpp
+++ b/modules/commands/bs_assign.cpp
@@ -153,10 +153,9 @@ class BSAssign : public Module
CommandBSUnassign commandbsunassign;
public:
- BSAssign(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
+ BSAssign(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
commandbsassign(this), commandbsunassign(this)
{
- this->SetAuthor("Anope");
}
};
diff --git a/modules/commands/bs_badwords.cpp b/modules/commands/bs_badwords.cpp
index 147b23b95..90fbb875d 100644
--- a/modules/commands/bs_badwords.cpp
+++ b/modules/commands/bs_badwords.cpp
@@ -313,10 +313,9 @@ class BSBadwords : public Module
CommandBSBadwords commandbsbadwords;
public:
- BSBadwords(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
+ BSBadwords(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
commandbsbadwords(this)
{
- this->SetAuthor("Anope");
}
};
diff --git a/modules/commands/bs_bot.cpp b/modules/commands/bs_bot.cpp
index dd6da27d6..f8ecb1a1d 100644
--- a/modules/commands/bs_bot.cpp
+++ b/modules/commands/bs_bot.cpp
@@ -355,10 +355,9 @@ class BSBot : public Module
CommandBSBot commandbsbot;
public:
- BSBot(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
+ BSBot(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
commandbsbot(this)
{
- this->SetAuthor("Anope");
}
};
diff --git a/modules/commands/bs_botlist.cpp b/modules/commands/bs_botlist.cpp
index cacfce903..9eac75e88 100644
--- a/modules/commands/bs_botlist.cpp
+++ b/modules/commands/bs_botlist.cpp
@@ -75,10 +75,9 @@ class BSBotList : public Module
CommandBSBotList commandbsbotlist;
public:
- BSBotList(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
+ BSBotList(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
commandbsbotlist(this)
{
- this->SetAuthor("Anope");
}
};
diff --git a/modules/commands/bs_control.cpp b/modules/commands/bs_control.cpp
index d78ca6851..32e9392d7 100644
--- a/modules/commands/bs_control.cpp
+++ b/modules/commands/bs_control.cpp
@@ -138,10 +138,9 @@ class BSControl : public Module
CommandBSAct commandbsact;
public:
- BSControl(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
+ BSControl(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
commandbssay(this), commandbsact(this)
{
- this->SetAuthor("Anope");
}
};
diff --git a/modules/commands/bs_info.cpp b/modules/commands/bs_info.cpp
index b1e05bb17..6c017dc55 100644
--- a/modules/commands/bs_info.cpp
+++ b/modules/commands/bs_info.cpp
@@ -238,10 +238,9 @@ class BSInfo : public Module
CommandBSInfo commandbsinfo;
public:
- BSInfo(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
+ BSInfo(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
commandbsinfo(this)
{
- this->SetAuthor("Anope");
}
};
diff --git a/modules/commands/bs_kick.cpp b/modules/commands/bs_kick.cpp
index 97f6b6035..86248ae80 100644
--- a/modules/commands/bs_kick.cpp
+++ b/modules/commands/bs_kick.cpp
@@ -789,7 +789,7 @@ class BSKick : public Module
}
public:
- BSKick(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
+ BSKick(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
commandbskick(this),
commandbskickamsg(this), commandbskickbadwords(this), commandbskickbolds(this), commandbskickcaps(this),
commandbskickcolors(this), commandbskickflood(this), commandbskickitalics(this), commandbskickrepeat(this),
@@ -797,7 +797,6 @@ class BSKick : public Module
purger(this)
{
- this->SetAuthor("Anope");
ModuleManager::Attach(I_OnPrivmsg, this);
}
diff --git a/modules/commands/bs_set.cpp b/modules/commands/bs_set.cpp
index b7e43eb9b..4bf8609ef 100644
--- a/modules/commands/bs_set.cpp
+++ b/modules/commands/bs_set.cpp
@@ -493,11 +493,10 @@ class BSSet : public Module
CommandBSSetPrivate commandbssetprivate;
public:
- BSSet(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
+ BSSet(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
commandbsset(this), commandbssetbanexpire(this), commandbssetdontkickops(this), commandbssetdontkickvoices(this),
commandbssetfantasy(this), commandbssetgreet(this), commandbssetnobot(this), commandbssetprivate(this)
{
- this->SetAuthor("Anope");
ModuleManager::Attach(I_OnBotBan, this);
}
diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp
index e6f32d8d2..10a4c9885 100644
--- a/modules/commands/cs_access.cpp
+++ b/modules/commands/cs_access.cpp
@@ -783,10 +783,9 @@ class CSAccess : public Module
CommandCSLevels commandcslevels;
public:
- CSAccess(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
+ CSAccess(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
accessprovider(this), commandcsaccess(this), commandcslevels(this)
{
- this->SetAuthor("Anope");
this->SetPermanent(true);
Implementation i[] = { I_OnReload, I_OnCreateChan, I_OnGroupCheckPriv };
diff --git a/modules/commands/cs_akick.cpp b/modules/commands/cs_akick.cpp
index f2bd603f9..b2b1c7579 100644
--- a/modules/commands/cs_akick.cpp
+++ b/modules/commands/cs_akick.cpp
@@ -510,10 +510,9 @@ class CSAKick : public Module
CommandCSAKick commandcsakick;
public:
- CSAKick(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
+ CSAKick(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, VENDOR),
commandcsakick(this)
{
- this->SetAuthor("Anope");
Implementation i[] = { I_OnCheckKick };