]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chgident.cpp
Remove more text<->binary IP conversions, making code more IPv4/IPv6 independent
[user/henk/code/inspircd.git] / src / modules / m_chgident.cpp
index 4943e3df81afd0b0413589985d6673157bd0acb2..82c34457a73451f5f7400fd596c5e66f88fb227d 100644 (file)
@@ -58,7 +58,7 @@ class CommandChgident : public Command
                dest->ChangeIdent(parameters[1].c_str());
 
                if (!ServerInstance->ULine(user->server))
-                       ServerInstance->SNO->WriteToSnoMask('a', "%s used CHGIDENT to change %s's ident to '%s'", user->nick.c_str(), dest->nick.c_str(), dest->ident.c_str());
+                       ServerInstance->SNO->WriteToSnoMask(IS_LOCAL(dest) ? 'a' : 'A', "%s used CHGIDENT to change %s's ident to '%s'", user->nick.c_str(), dest->nick.c_str(), dest->ident.c_str());
 
                /* route it! */
                return CMD_SUCCESS;