summaryrefslogtreecommitdiff
path: root/src/modules/m_cban.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-21 21:43:48 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-21 21:43:48 +0000
commitb669f920eaa9fb795d0a103d724943898a0df4b2 (patch)
tree41418faca6e863052dbf23f1741606320f7d7095 /src/modules/m_cban.cpp
parent8d1af47d0271e5f08057bec64dee6d18a7b35021 (diff)
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
Diffstat (limited to 'src/modules/m_cban.cpp')
-rw-r--r--src/modules/m_cban.cpp8
1 files changed, 4 insertions, 4 deletions
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 = "<channel> [<duration> :<reason>]";
@@ -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);
}