]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sethost.cpp
Rename quietban to muteban, change character to +b m:, this way it fits with cmode...
[user/henk/code/inspircd.git] / src / modules / m_sethost.cpp
index e781a79aa81c74c6c40adce4fb86294906c92c56..b84f11acf5bcd350c9e41418d269b1c9f450ae88 100644 (file)
@@ -42,12 +42,12 @@ class CommandSethost : public Command
                }
                if (len == 0)
                {
-                       user->WriteServ("NOTICE %s :*** SETHOST: Host must be specified", user->nick);
+                       user->WriteServ("NOTICE %s :*** SETHOST: Host must be specified", user->nick.c_str());
                        return CMD_FAILURE;
                }
                if (len > 64)
                {
-                       user->WriteServ("NOTICE %s :*** SETHOST: Host too long",user->nick);
+                       user->WriteServ("NOTICE %s :*** SETHOST: Host too long",user->nick.c_str());
                        return CMD_FAILURE;
                }
 
@@ -69,7 +69,7 @@ class ModuleSetHost : public Module
  public:
        ModuleSetHost(InspIRCd* Me)
                : Module(Me)
-       {       
+       {
                OnRehash(NULL,"");
                mycommand = new CommandSethost(ServerInstance, hostmap);
                ServerInstance->AddCommand(mycommand);
@@ -94,12 +94,12 @@ class ModuleSetHost : public Module
        virtual ~ModuleSetHost()
        {
        }
-       
+
        virtual Version GetVersion()
        {
                return Version(1, 2, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
        }
-       
+
 };
 
 MODULE_INIT(ModuleSetHost)