From 694e307c09334c21aaf1a6c3f0b7b6d95440dd3e Mon Sep 17 00:00:00 2001 From: w00t Date: Mon, 15 Oct 2007 20:55:55 +0000 Subject: class command_t -> class Command. Whey :D git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8203 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_sqloper.cpp | 2 +- src/modules/extra/m_ssl_oper_cert.cpp | 4 ++-- src/modules/extra/m_sslinfo.cpp | 4 ++-- src/modules/m_alltime.cpp | 4 ++-- src/modules/m_auditorium.cpp | 2 +- src/modules/m_cban.cpp | 4 ++-- src/modules/m_cgiirc.cpp | 4 ++-- src/modules/m_check.cpp | 4 ++-- src/modules/m_chghost.cpp | 4 ++-- src/modules/m_chgident.cpp | 4 ++-- src/modules/m_chgname.cpp | 4 ++-- src/modules/m_clones.cpp | 4 ++-- src/modules/m_close.cpp | 4 ++-- src/modules/m_customtitle.cpp | 4 ++-- src/modules/m_cycle.cpp | 4 ++-- src/modules/m_dccallow.cpp | 4 ++-- src/modules/m_devoice.cpp | 4 ++-- src/modules/m_filter.h | 6 +++--- src/modules/m_globalload.cpp | 12 ++++++------ src/modules/m_globops.cpp | 4 ++-- src/modules/m_helpop.cpp | 4 ++-- src/modules/m_invisible.cpp | 2 +- src/modules/m_jumpserver.cpp | 4 ++-- src/modules/m_knock.cpp | 4 ++-- src/modules/m_lockserv.cpp | 8 ++++---- src/modules/m_nicklock.cpp | 8 ++++---- src/modules/m_oper_hash.cpp | 4 ++-- src/modules/m_operlog.cpp | 2 +- src/modules/m_opermotd.cpp | 4 ++-- src/modules/m_randquote.cpp | 4 ++-- src/modules/m_remove.cpp | 8 ++++---- src/modules/m_sajoin.cpp | 4 ++-- src/modules/m_samode.cpp | 4 ++-- src/modules/m_sanick.cpp | 4 ++-- src/modules/m_sapart.cpp | 4 ++-- src/modules/m_saquit.cpp | 4 ++-- src/modules/m_sethost.cpp | 4 ++-- src/modules/m_setident.cpp | 4 ++-- src/modules/m_setidle.cpp | 4 ++-- src/modules/m_setname.cpp | 4 ++-- src/modules/m_silence.cpp | 4 ++-- src/modules/m_silence_ext.cpp | 4 ++-- src/modules/m_spanningtree/postcommand.cpp | 2 +- src/modules/m_spanningtree/rconnect.cpp | 2 +- src/modules/m_spanningtree/rconnect.h | 2 +- src/modules/m_spanningtree/rsquit.cpp | 2 +- src/modules/m_spanningtree/rsquit.h | 2 +- src/modules/m_spy.cpp | 8 ++++---- src/modules/m_svshold.cpp | 4 ++-- src/modules/m_swhois.cpp | 4 ++-- src/modules/m_taxonomy.cpp | 4 ++-- src/modules/m_testcommand.cpp | 4 ++-- src/modules/m_timedbans.cpp | 4 ++-- src/modules/m_tline.cpp | 4 ++-- src/modules/m_uninvite.cpp | 4 ++-- src/modules/m_userip.cpp | 4 ++-- src/modules/m_vhost.cpp | 4 ++-- src/modules/m_watch.cpp | 4 ++-- 58 files changed, 120 insertions(+), 120 deletions(-) (limited to 'src/modules') diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp index a0d96fc88..d1bece343 100644 --- a/src/modules/extra/m_sqloper.cpp +++ b/src/modules/extra/m_sqloper.cpp @@ -227,7 +227,7 @@ public: void LoginFail(userrec* user, const std::string &username, const std::string &pass) { - command_t* oper_command = ServerInstance->Parser->GetHandler("OPER"); + Command* oper_command = ServerInstance->Parser->GetHandler("OPER"); if (oper_command) { diff --git a/src/modules/extra/m_ssl_oper_cert.cpp b/src/modules/extra/m_ssl_oper_cert.cpp index c67b50c8c..e95447b6d 100644 --- a/src/modules/extra/m_ssl_oper_cert.cpp +++ b/src/modules/extra/m_ssl_oper_cert.cpp @@ -24,10 +24,10 @@ /** Handle /FINGERPRINT */ -class cmd_fingerprint : public command_t +class cmd_fingerprint : public Command { public: - cmd_fingerprint (InspIRCd* Instance) : command_t(Instance,"FINGERPRINT", 0, 1) + cmd_fingerprint (InspIRCd* Instance) : Command(Instance,"FINGERPRINT", 0, 1) { this->source = "m_ssl_oper_cert.so"; syntax = ""; diff --git a/src/modules/extra/m_sslinfo.cpp b/src/modules/extra/m_sslinfo.cpp index dc9274f1e..008608f03 100644 --- a/src/modules/extra/m_sslinfo.cpp +++ b/src/modules/extra/m_sslinfo.cpp @@ -24,10 +24,10 @@ /** Handle /SSLINFO */ -class cmd_sslinfo : public command_t +class cmd_sslinfo : public Command { public: - cmd_sslinfo (InspIRCd* Instance) : command_t(Instance,"SSLINFO", 0, 1) + cmd_sslinfo (InspIRCd* Instance) : Command(Instance,"SSLINFO", 0, 1) { this->source = "m_sslinfo.so"; this->syntax = ""; diff --git a/src/modules/m_alltime.cpp b/src/modules/m_alltime.cpp index 37dbf38a0..7afa71803 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_t +class cmd_alltime : public Command { public: - cmd_alltime(InspIRCd *Instance) : command_t(Instance, "ALLTIME", 'o', 0) + cmd_alltime(InspIRCd *Instance) : Command(Instance, "ALLTIME", 'o', 0) { this->source = "m_alltime.so"; syntax.clear(); diff --git a/src/modules/m_auditorium.cpp b/src/modules/m_auditorium.cpp index a054a00ef..aa5e18438 100644 --- a/src/modules/m_auditorium.cpp +++ b/src/modules/m_auditorium.cpp @@ -164,7 +164,7 @@ class ModuleAuditorium : public Module void OnUserQuit(userrec* user, const std::string &reason, const std::string &oper_message) { - command_t* parthandler = ServerInstance->Parser->GetHandler("PART"); + Command* parthandler = ServerInstance->Parser->GetHandler("PART"); std::vector to_leave; const char* parameters[2]; if (parthandler) diff --git a/src/modules/m_cban.cpp b/src/modules/m_cban.cpp index 7c88b03da..6d56b62bc 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_t +class cmd_cban : public Command { public: - cmd_cban(InspIRCd* Me) : command_t(Me, "CBAN", 'o', 1) + cmd_cban(InspIRCd* Me) : Command(Me, "CBAN", 'o', 1) { this->source = "m_cban.so"; this->syntax = " [ :]"; diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp index 49a6fdabb..eb497dea4 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_t +class cmd_webirc : public Command { InspIRCd* Me; CGIHostlist Hosts; bool notify; public: - cmd_webirc(InspIRCd* Me, CGIHostlist &Hosts, bool notify) : command_t(Me, "WEBIRC", 0, 4, true), Hosts(Hosts), notify(notify) + cmd_webirc(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"; diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index c4ec91988..7a48a3d45 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -18,10 +18,10 @@ /** Handle /CHECK */ -class cmd_check : public command_t +class cmd_check : public Command { public: - cmd_check (InspIRCd* Instance) : command_t(Instance,"CHECK", 'o', 1) + cmd_check (InspIRCd* Instance) : Command(Instance,"CHECK", 'o', 1) { this->source = "m_check.so"; syntax = "|||"; diff --git a/src/modules/m_chghost.cpp b/src/modules/m_chghost.cpp index 5f5623682..db8094aa2 100644 --- a/src/modules/m_chghost.cpp +++ b/src/modules/m_chghost.cpp @@ -17,12 +17,12 @@ /** Handle /CHGHOST */ -class cmd_chghost : public command_t +class cmd_chghost : public Command { private: char* hostmap; public: - cmd_chghost (InspIRCd* Instance, char* hmap) : command_t(Instance,"CHGHOST",'o',2), hostmap(hmap) + cmd_chghost (InspIRCd* Instance, char* hmap) : Command(Instance,"CHGHOST",'o',2), hostmap(hmap) { this->source = "m_chghost.so"; syntax = " "; diff --git a/src/modules/m_chgident.cpp b/src/modules/m_chgident.cpp index d79088cf9..0561c5156 100644 --- a/src/modules/m_chgident.cpp +++ b/src/modules/m_chgident.cpp @@ -17,10 +17,10 @@ /** Handle /CHGIDENT */ -class cmd_chgident : public command_t +class cmd_chgident : public Command { public: - cmd_chgident (InspIRCd* Instance) : command_t(Instance,"CHGIDENT", 'o', 2) + cmd_chgident (InspIRCd* Instance) : Command(Instance,"CHGIDENT", 'o', 2) { this->source = "m_chgident.so"; syntax = " "; diff --git a/src/modules/m_chgname.cpp b/src/modules/m_chgname.cpp index ddb38567f..31467459c 100644 --- a/src/modules/m_chgname.cpp +++ b/src/modules/m_chgname.cpp @@ -17,10 +17,10 @@ /** Handle /CHGNAME */ -class cmd_chgname : public command_t +class cmd_chgname : public Command { public: - cmd_chgname (InspIRCd* Instance) : command_t(Instance,"CHGNAME", 'o', 2) + cmd_chgname (InspIRCd* Instance) : Command(Instance,"CHGNAME", 'o', 2) { this->source = "m_chgname.so"; syntax = " "; diff --git a/src/modules/m_clones.cpp b/src/modules/m_clones.cpp index 85613f4ef..a8644f6ed 100644 --- a/src/modules/m_clones.cpp +++ b/src/modules/m_clones.cpp @@ -18,10 +18,10 @@ /** Handle /CHECK */ -class cmd_clones : public command_t +class cmd_clones : public Command { public: - cmd_clones (InspIRCd* Instance) : command_t(Instance,"CLONES", 'o', 1) + cmd_clones (InspIRCd* Instance) : Command(Instance,"CLONES", 'o', 1) { this->source = "m_clones.so"; syntax = ""; diff --git a/src/modules/m_close.cpp b/src/modules/m_close.cpp index e395b427f..da52dd7d9 100644 --- a/src/modules/m_close.cpp +++ b/src/modules/m_close.cpp @@ -15,11 +15,11 @@ /** Handle /CLOSE */ -class cmd_close : public command_t +class cmd_close : public Command { public: /* Command 'close', needs operator */ - cmd_close (InspIRCd* Instance) : command_t(Instance,"CLOSE", 'o', 0) + cmd_close (InspIRCd* Instance) : Command(Instance,"CLOSE", 'o', 0) { this->source = "m_close.so"; } diff --git a/src/modules/m_customtitle.cpp b/src/modules/m_customtitle.cpp index 73f2cda87..ca277c3ae 100644 --- a/src/modules/m_customtitle.cpp +++ b/src/modules/m_customtitle.cpp @@ -18,11 +18,11 @@ /** Handle /TITLE */ -class cmd_title : public command_t +class cmd_title : public Command { public: - cmd_title (InspIRCd* Instance) : command_t(Instance,"TITLE",0,2) + cmd_title (InspIRCd* Instance) : Command(Instance,"TITLE",0,2) { this->source = "m_customtitle.so"; syntax = " "; diff --git a/src/modules/m_cycle.cpp b/src/modules/m_cycle.cpp index fa55f44d8..06361c692 100644 --- a/src/modules/m_cycle.cpp +++ b/src/modules/m_cycle.cpp @@ -17,10 +17,10 @@ /** Handle /CYCLE */ -class cmd_cycle : public command_t +class cmd_cycle : public Command { public: - cmd_cycle (InspIRCd* Instance) : command_t(Instance,"CYCLE", 0, 1) + cmd_cycle (InspIRCd* Instance) : Command(Instance,"CYCLE", 0, 1) { this->source = "m_cycle.so"; syntax = " :[reason]"; diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index fd9e329cd..7ddce8ab0 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_t +class cmd_dccallow : public Command { public: - cmd_dccallow(InspIRCd* Me) : command_t(Me, "DCCALLOW", 0, 0) + cmd_dccallow(InspIRCd* Me) : Command(Me, "DCCALLOW", 0, 0) { this->source = "m_dccallow.so"; syntax = "{[+|-]