]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chgname.cpp
Add comments
[user/henk/code/inspircd.git] / src / modules / m_chgname.cpp
index b58a4b17702b990a6d0b7ceecd1c7a13d7e92588..0a7b5a664eafbb1326adab1b4393b4cf67238b9c 100644 (file)
@@ -52,7 +52,7 @@ class CommandChgname : public Command
                if (IS_LOCAL(dest))
                {
                        dest->ChangeName(parameters[1]);
-                       ServerInstance->WriteOpers("%s used CHGNAME to change %s's real name to '%s'", user->nick, dest->nick, dest->fullname);
+                       ServerInstance->SNO->WriteToSnoMask('A', "%s used CHGNAME to change %s's real name to '%s'", user->nick, dest->nick, dest->fullname);
                        return CMD_LOCALONLY; /* name change routed by FNAME in spanningtree now */
                }