]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sapart.cpp
converting m_d* done
[user/henk/code/inspircd.git] / src / modules / m_sapart.cpp
index 1a176da85a83d8517e9d09239d4324dccb6b3810..999676f192ec089e2fa5a1e90ba97aa56283a8b8 100644 (file)
@@ -35,7 +35,7 @@ class CommandSapart : public Command
 
                if (dest && channel)
                {
-                       ServerInstance->Log(DEBUG, "SAPART: pcnt is %d", pcnt);
+                       ServerInstance->Logs->Log("m_sapart",DEBUG, "SAPART: pcnt is %d", pcnt);
                        if (pcnt == 3)
                                reason = parameters[2];
                        else
@@ -43,7 +43,7 @@ class CommandSapart : public Command
 
                        if (ServerInstance->ULine(dest->server))
                        {
-                               user->WriteServ("990 %s :Cannot use an SA command on a u-lined client",user->nick);
+                               user->WriteNumeric(990, "%s :Cannot use an SA command on a u-lined client",user->nick);
                                return CMD_FAILURE;
                        }
 
@@ -111,7 +111,7 @@ class ModuleSapart : public Module
        
        virtual Version GetVersion()
        {
-               return Version(1, 1, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
+               return Version(1, 2, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
        }
        
 };