summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-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;