diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-12-15 12:14:04 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-12-15 12:14:04 +0000 |
commit | 187544bfd00c340492924f8238109ff7929c555d (patch) | |
tree | e541035dfc07644a4f8dec243386ab3672585f82 /src/modules/m_shun.cpp | |
parent | abdc701198fde5be73bd32e73c8c9d2ad294d649 (diff) |
Fix naming convention to be consistant. (cmd_ -> Command)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10891 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_shun.cpp')
-rw-r--r-- | src/modules/m_shun.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp index c013776ed..abda2897e 100644 --- a/src/modules/m_shun.cpp +++ b/src/modules/m_shun.cpp @@ -67,13 +67,13 @@ class ShunFactory : public XLineFactory //typedef std::vector<Shun> shunlist; -class cmd_shun : public Command +class CommandShun : public Command { private: InspIRCd *Srv; public: - cmd_shun(InspIRCd* Me) : Command(Me, "SHUN", "o", 1, 3), Srv(Me) + CommandShun(InspIRCd* Me) : Command(Me, "SHUN", "o", 1, 3), Srv(Me) { this->source = "m_shun.so"; this->syntax = "<nick!user@hostmask> [<shun-duration>] :<reason>"; @@ -143,7 +143,7 @@ class cmd_shun : public Command class ModuleShun : public Module { - cmd_shun* mycommand; + CommandShun* mycommand; ShunFactory *f; std::map<std::string, bool> ShunEnabledCommands; bool NotifyOfShun; @@ -154,7 +154,7 @@ class ModuleShun : public Module f = new ShunFactory(ServerInstance); ServerInstance->XLines->RegisterFactory(f); - mycommand = new cmd_shun(ServerInstance); + mycommand = new CommandShun(ServerInstance); ServerInstance->AddCommand(mycommand); Implementation eventlist[] = { I_OnStats, I_OnPreCommand, I_OnUserConnect, I_OnRehash }; |