summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-11 22:19:46 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-11 22:19:46 +0000
commite48b7c6e6a735491a4ea7d3f56de54d4be07b03a (patch)
tree3d4a721d4c1733495afd221828abfc3a74a37a77 /src
parent96de3c22e822d4595140ed84dcf398336c2b0b33 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_chgident.cpp4
1 files changed, 3 insertions, 1 deletions
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;