]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_sanick.cpp
Note where to find the docs.
[user/henk/code/inspircd.git] / src / modules / m_sanick.cpp
index 9adaff40cbd35c94a856a8026050fbe49783a0e1..55a6aae941b8598cff8f882be4f7438ea2a5e297 100644 (file)
@@ -34,7 +34,7 @@ class CommandSanick : public Command
                {
                        if (ServerInstance->ULine(target->server))
                        {
-                               user->WriteNumeric(990, "%s :Cannot use an SA command on a u-lined client",user->nick.c_str());
+                               user->WriteNumeric(ERR_NOPRIVILEGES, "%s :Cannot use an SA command on a u-lined client",user->nick.c_str());
                                return CMD_FAILURE;
                        }
                        std::string oldnick = user->nick;
@@ -88,7 +88,7 @@ class ModuleSanick : public Module
 
        virtual Version GetVersion()
        {
-               return Version(1, 2, 0, 1, VF_COMMON | VF_VENDOR, API_VERSION);
+               return Version("$Id$", VF_COMMON | VF_VENDOR, API_VERSION);
        }
 
 };