From b669f920eaa9fb795d0a103d724943898a0df4b2 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 21 Oct 2007 21:43:48 +0000 Subject: Another big commit, just to please all my fans out there.. cmd_* -> Command*. Muahaha. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8290 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_alltime.cpp | 8 ++++---- src/modules/m_cban.cpp | 8 ++++---- src/modules/m_cgiirc.cpp | 8 ++++---- src/modules/m_check.cpp | 8 ++++---- src/modules/m_chghost.cpp | 8 ++++---- src/modules/m_chgident.cpp | 8 ++++---- src/modules/m_chgname.cpp | 8 ++++---- src/modules/m_clones.cpp | 8 ++++---- src/modules/m_close.cpp | 8 ++++---- src/modules/m_customtitle.cpp | 8 ++++---- src/modules/m_cycle.cpp | 8 ++++---- src/modules/m_dccallow.cpp | 8 ++++---- src/modules/m_devoice.cpp | 8 ++++---- src/modules/m_filter.h | 10 +++++----- src/modules/m_globalload.cpp | 24 ++++++++++++------------ src/modules/m_globops.cpp | 8 ++++---- src/modules/m_helpop.cpp | 8 ++++---- src/modules/m_jumpserver.cpp | 8 ++++---- src/modules/m_knock.cpp | 8 ++++---- src/modules/m_lockserv.cpp | 16 ++++++++-------- src/modules/m_nicklock.cpp | 16 ++++++++-------- src/modules/m_oper_hash.cpp | 8 ++++---- src/modules/m_opermotd.cpp | 8 ++++---- src/modules/m_randquote.cpp | 8 ++++---- src/modules/m_remove.cpp | 16 ++++++++-------- src/modules/m_sajoin.cpp | 8 ++++---- src/modules/m_samode.cpp | 8 ++++---- src/modules/m_sanick.cpp | 8 ++++---- src/modules/m_sapart.cpp | 8 ++++---- src/modules/m_saquit.cpp | 8 ++++---- src/modules/m_sethost.cpp | 8 ++++---- src/modules/m_setident.cpp | 8 ++++---- src/modules/m_setidle.cpp | 8 ++++---- src/modules/m_setname.cpp | 8 ++++---- src/modules/m_silence.cpp | 8 ++++---- src/modules/m_silence_ext.cpp | 8 ++++---- src/modules/m_spy.cpp | 16 ++++++++-------- src/modules/m_svshold.cpp | 8 ++++---- src/modules/m_swhois.cpp | 8 ++++---- src/modules/m_taxonomy.cpp | 8 ++++---- src/modules/m_testcommand.cpp | 8 ++++---- src/modules/m_timedbans.cpp | 8 ++++---- src/modules/m_tline.cpp | 8 ++++---- src/modules/m_uninvite.cpp | 8 ++++---- src/modules/m_userip.cpp | 8 ++++---- src/modules/m_vhost.cpp | 8 ++++---- src/modules/m_watch.cpp | 8 ++++---- 47 files changed, 213 insertions(+), 213 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_alltime.cpp b/src/modules/m_alltime.cpp index 1b48c237f..48b54137e 100644 --- a/src/modules/m_alltime.cpp +++ b/src/modules/m_alltime.cpp @@ -15,10 +15,10 @@ /* $ModDesc: Display timestamps from all servers connected to the network */ -class cmd_alltime : public Command +class CommandAlltime : public Command { public: - cmd_alltime(InspIRCd *Instance) : Command(Instance, "ALLTIME", 'o', 0) + CommandAlltime(InspIRCd *Instance) : Command(Instance, "ALLTIME", 'o', 0) { this->source = "m_alltime.so"; syntax.clear(); @@ -60,12 +60,12 @@ class cmd_alltime : public Command class Modulealltime : public Module { - cmd_alltime *mycommand; + CommandAlltime *mycommand; public: Modulealltime(InspIRCd *Me) : Module(Me) { - mycommand = new cmd_alltime(ServerInstance); + mycommand = new CommandAlltime(ServerInstance); ServerInstance->AddCommand(mycommand); } diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp index b02e892d3..a978d2fd9 100644 --- a/src/modules/m_cban.cpp +++ b/src/modules/m_cban.cpp @@ -44,10 +44,10 @@ cbanlist cbans; /** Handle /CBAN */ -class cmd_cban : public Command +class CommandCban : public Command { public: - cmd_cban(InspIRCd* Me) : Command(Me, "CBAN", 'o', 1) + CommandCban(InspIRCd* Me) : Command(Me, "CBAN", 'o', 1) { this->source = "m_cban.so"; this->syntax = " [ :]"; @@ -118,14 +118,14 @@ bool CBanComp(const CBan &ban1, const CBan &ban2) class ModuleCBan : public Module { - cmd_cban* mycommand; + CommandCban* mycommand; public: ModuleCBan(InspIRCd* Me) : Module(Me) { - mycommand = new cmd_cban(Me); + mycommand = new CommandCban(Me); ServerInstance->AddCommand(mycommand); } diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp index b30b9316b..74802da88 100644 --- a/src/modules/m_cgiirc.cpp +++ b/src/modules/m_cgiirc.cpp @@ -40,13 +40,13 @@ public: }; typedef std::vector CGIHostlist; -class cmd_webirc : public Command +class CommandWebirc : public Command { InspIRCd* Me; CGIHostlist Hosts; bool notify; public: - cmd_webirc(InspIRCd* Me, CGIHostlist &Hosts, bool notify) : Command(Me, "WEBIRC", 0, 4, true), Hosts(Hosts), notify(notify) + CommandWebirc(InspIRCd* Me, CGIHostlist &Hosts, bool notify) : Command(Me, "WEBIRC", 0, 4, true), Hosts(Hosts), notify(notify) { this->source = "m_cgiirc.so"; this->syntax = "password client hostname ip"; @@ -123,7 +123,7 @@ class CGIResolver : public Resolver class ModuleCgiIRC : public Module { - cmd_webirc* mycommand; + CommandWebirc* mycommand; bool NotifyOpers; CGIHostlist Hosts; public: @@ -131,7 +131,7 @@ public: { OnRehash(NULL,""); - mycommand=new cmd_webirc(Me, Hosts, NotifyOpers); + mycommand=new CommandWebirc(Me, Hosts, NotifyOpers); ServerInstance->AddCommand(mycommand); } diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index 24024e2f9..b505f10ee 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -18,10 +18,10 @@ /** Handle /CHECK */ -class cmd_check : public Command +class CommandCheck : public Command { public: - cmd_check (InspIRCd* Instance) : Command(Instance,"CHECK", 'o', 1) + CommandCheck (InspIRCd* Instance) : Command(Instance,"CHECK", 'o', 1) { this->source = "m_check.so"; syntax = "|||"; @@ -157,12 +157,12 @@ class cmd_check : public Command class ModuleCheck : public Module { private: - cmd_check *mycommand; + CommandCheck *mycommand; public: ModuleCheck(InspIRCd* Me) : Module(Me) { - mycommand = new cmd_check(ServerInstance); + mycommand = new CommandCheck(ServerInstance); ServerInstance->AddCommand(mycommand); } diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index 4b53e7c12..e13dc1c31 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -17,12 +17,12 @@ /** Handle /CHGHOST */ -class cmd_chghost : public Command +class CommandChghost : public Command { private: char* hostmap; public: - cmd_chghost (InspIRCd* Instance, char* hmap) : Command(Instance,"CHGHOST",'o',2), hostmap(hmap) + CommandChghost (InspIRCd* Instance, char* hmap) : Command(Instance,"CHGHOST",'o',2), hostmap(hmap) { this->source = "m_chghost.so"; syntax = " "; @@ -75,14 +75,14 @@ class cmd_chghost : public Command class ModuleChgHost : public Module { - cmd_chghost* mycommand; + CommandChghost* mycommand; char hostmap[256]; public: ModuleChgHost(InspIRCd* Me) : Module(Me) { OnRehash(NULL,""); - mycommand = new cmd_chghost(ServerInstance, hostmap); + mycommand = new CommandChghost(ServerInstance, hostmap); ServerInstance->AddCommand(mycommand); } diff --git a/src/modules/m_chgident.cpp b/src/modules/m_chgident.cpp index 7ae98b37d..42a4ef747 100644 --- a/src/modules/m_chgident.cpp +++ b/src/modules/m_chgident.cpp @@ -17,10 +17,10 @@ /** Handle /CHGIDENT */ -class cmd_chgident : public Command +class CommandChgident : public Command { public: - cmd_chgident (InspIRCd* Instance) : Command(Instance,"CHGIDENT", 'o', 2) + CommandChgident (InspIRCd* Instance) : Command(Instance,"CHGIDENT", 'o', 2) { this->source = "m_chgident.so"; syntax = " "; @@ -68,13 +68,13 @@ class cmd_chgident : public Command class ModuleChgIdent : public Module { - cmd_chgident* mycommand; + CommandChgident* mycommand; public: ModuleChgIdent(InspIRCd* Me) : Module(Me) { - mycommand = new cmd_chgident(ServerInstance); + mycommand = new CommandChgident(ServerInstance); ServerInstance->AddCommand(mycommand); } diff --git a/src/modules/m_chgname.cpp b/src/modules/m_chgname.cpp index 987678b5b..dc90b016b 100644 --- a/src/modules/m_chgname.cpp +++ b/src/modules/m_chgname.cpp @@ -17,10 +17,10 @@ /** Handle /CHGNAME */ -class cmd_chgname : public Command +class CommandChgname : public Command { public: - cmd_chgname (InspIRCd* Instance) : Command(Instance,"CHGNAME", 'o', 2) + CommandChgname (InspIRCd* Instance) : Command(Instance,"CHGNAME", 'o', 2) { this->source = "m_chgname.so"; syntax = " "; @@ -64,13 +64,13 @@ class cmd_chgname : public Command class ModuleChgName : public Module { - cmd_chgname* mycommand; + CommandChgname* mycommand; public: ModuleChgName(InspIRCd* Me) : Module(Me) { - mycommand = new cmd_chgname(ServerInstance); + mycommand = new CommandChgname(ServerInstance); ServerInstance->AddCommand(mycommand); } diff --git a/src/modules/m_clones.cpp b/src/modules/m_clones.cpp index 82fdf535f..8f47a6432 100644 --- a/src/modules/m_clones.cpp +++ b/src/modules/m_clones.cpp @@ -18,10 +18,10 @@ /** Handle /CHECK */ -class cmd_clones : public Command +class CommandClones : public Command { public: - cmd_clones (InspIRCd* Instance) : Command(Instance,"CLONES", 'o', 1) + CommandClones (InspIRCd* Instance) : Command(Instance,"CLONES", 'o', 1) { this->source = "m_clones.so"; syntax = ""; @@ -69,12 +69,12 @@ class cmd_clones : public Command class ModuleClones : public Module { private: - cmd_clones *mycommand; + CommandClones *mycommand; public: ModuleClones(InspIRCd* Me) : Module(Me) { - mycommand = new cmd_clones(ServerInstance); + mycommand = new CommandClones(ServerInstance); ServerInstance->AddCommand(mycommand); } diff --git a/src/modules/m_close.cpp b/src/modules/m_close.cpp index 4b91ca789..7a823e799 100644 --- a/src/modules/m_close.cpp +++ b/src/modules/m_close.cpp @@ -15,11 +15,11 @@ /** Handle /CLOSE */ -class cmd_close : public Command +class CommandClose : public Command { public: /* Command 'close', needs operator */ - cmd_close (InspIRCd* Instance) : Command(Instance,"CLOSE", 'o', 0) + CommandClose (InspIRCd* Instance) : Command(Instance,"CLOSE", 'o', 0) { this->source = "m_close.so"; } @@ -55,13 +55,13 @@ class cmd_close : public Command class ModuleClose : public Module { - cmd_close* newcommand; + CommandClose* newcommand; public: ModuleClose(InspIRCd* Me) : Module(Me) { // Create a new command - newcommand = new cmd_close(ServerInstance); + newcommand = new CommandClose(ServerInstance); ServerInstance->AddCommand(newcommand); } diff --git a/src/modules/m_customtitle.cpp b/src/modules/m_customtitle.cpp index bd165034f..da28ea8af 100644 --- a/src/modules/m_customtitle.cpp +++ b/src/modules/m_customtitle.cpp @@ -18,11 +18,11 @@ /** Handle /TITLE */ -class cmd_title : public Command +class CommandTitle : public Command { public: - cmd_title (InspIRCd* Instance) : Command(Instance,"TITLE",0,2) + CommandTitle (InspIRCd* Instance) : Command(Instance,"TITLE",0,2) { this->source = "m_customtitle.so"; syntax = " "; @@ -110,13 +110,13 @@ bool OneOfMatches(const char* host, const char* ip, const char* hostlist) class ModuleCustomTitle : public Module { - cmd_title* mycommand; + CommandTitle* mycommand; public: ModuleCustomTitle(InspIRCd* Me) : Module(Me) { - mycommand = new cmd_title(ServerInstance); + mycommand = new CommandTitle(ServerInstance); ServerInstance->AddCommand(mycommand); } diff --git a/src/modules/m_cycle.cpp b/src/modules/m_cycle.cpp index aee8ba8cf..c271f024c 100644 --- a/src/modules/m_cycle.cpp +++ b/src/modules/m_cycle.cpp @@ -17,10 +17,10 @@ /** Handle /CYCLE */ -class cmd_cycle : public Command +class CommandCycle : public Command { public: - cmd_cycle (InspIRCd* Instance) : Command(Instance,"CYCLE", 0, 1, false, 3) + CommandCycle (InspIRCd* Instance) : Command(Instance,"CYCLE", 0, 1, false, 3) { this->source = "m_cycle.so"; syntax = " :[reason]"; @@ -79,13 +79,13 @@ class cmd_cycle : public Command class ModuleCycle : public Module { - cmd_cycle* mycommand; + CommandCycle* mycommand; public: ModuleCycle(InspIRCd* Me) : Module(Me) { - mycommand = new cmd_cycle(ServerInstance); + mycommand = new CommandCycle(ServerInstance); ServerInstance->AddCommand(mycommand); } diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index ebd3b8630..2b67654cc 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -44,10 +44,10 @@ dccallowlist* dl; typedef std::vector bannedfilelist; bannedfilelist bfl; -class cmd_dccallow : public Command +class CommandDccallow : public Command { public: - cmd_dccallow(InspIRCd* Me) : Command(Me, "DCCALLOW", 0, 0) + CommandDccallow(InspIRCd* Me) : Command(Me, "DCCALLOW", 0, 0) { this->source = "m_dccallow.so"; syntax = "{[+|-]