]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chgident.cpp
Add comments
[user/henk/code/inspircd.git] / src / modules / m_chgident.cpp
index a6ef4e7badf65b3f48af88110297c69c6923b7cd..b8973f722943a2fa683fcb49f3ca74f272ce4091 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
@@ -58,7 +58,7 @@ class CommandChgident : public Command
                dest->ChangeIdent(parameters[1]);
 
                if (!ServerInstance->ULine(user->server))
-                       ServerInstance->WriteOpers("%s used CHGIDENT to change %s's ident to '%s'", user->nick, dest->nick, dest->ident);
+                       ServerInstance->SNO->WriteToSnoMask('A', "%s used CHGIDENT to change %s's ident to '%s'", user->nick, dest->nick, dest->ident);
 
                /* route it! */
                return CMD_SUCCESS;