From e48b7c6e6a735491a4ea7d3f56de54d4be07b03a Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 11 Oct 2007 22:19:46 +0000 Subject: Silent CHGIDENT for ulines to prevent noisyness from anope git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8151 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_chgident.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/modules') diff --git a/src/modules/m_chgident.cpp b/src/modules/m_chgident.cpp index 272bef31f..d79088cf9 100644 --- a/src/modules/m_chgident.cpp +++ b/src/modules/m_chgident.cpp @@ -56,7 +56,9 @@ class cmd_chgident : public command_t } dest->ChangeIdent(parameters[1]); - ServerInstance->WriteOpers("%s used CHGIDENT to change %s's ident to '%s'", user->nick, dest->nick, dest->ident); + + if (!ServerInstance->ULine(user->server)) + ServerInstance->WriteOpers("%s used CHGIDENT to change %s's ident to '%s'", user->nick, dest->nick, dest->ident); /* route it! */ return CMD_SUCCESS; -- cgit v1.2.3