]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chghost.cpp
More AddModes fixes
[user/henk/code/inspircd.git] / src / modules / m_chghost.cpp
index 4b53e7c12f6cafc8f479eb8a4e6d4ce2ed8d0ed7..e13dc1c311116c73e2b20f42719f9ead20b541f0 100644 (file)
 
 /** 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 = "<nick> <newhost>";
@@ -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);
        }