]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_timedbans.cpp
More AddModes fixes
[user/henk/code/inspircd.git] / src / modules / m_timedbans.cpp
index a226b97472fd9f6edb476cfb607cfa50f0503f65..682fc2f013f1e2946fdd07acffc7523bb632e8a2 100644 (file)
@@ -30,10 +30,10 @@ timedbans TimedBanList;
 
 /** Handle /TBAN
  */
-class cmd_tban : public Command
+class CommandTban : public Command
 {
  public:
cmd_tban (InspIRCd* Instance) : Command(Instance,"TBAN", 0, 3)
CommandTban (InspIRCd* Instance) : Command(Instance,"TBAN", 0, 3)
        {
                this->source = "m_timedbans.so";
                syntax = "<channel> <duration> <banmask>";
@@ -104,13 +104,13 @@ class cmd_tban : public Command
 
 class ModuleTimedBans : public Module
 {
-       cmd_tban* mycommand;
+       CommandTban* mycommand;
  public:
        ModuleTimedBans(InspIRCd* Me)
                : Module(Me)
        {
                
-               mycommand = new cmd_tban(ServerInstance);
+               mycommand = new CommandTban(ServerInstance);
                ServerInstance->AddCommand(mycommand);
                TimedBanList.clear();
        }