From: Peter Powell Date: Fri, 1 Feb 2019 10:39:11 +0000 (+0000) Subject: ident: Change idents with the ChangeIdent method. X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;ds=inline;h=f35490427c17229e81b1ff266c7dcaf67d1a35b5;p=user%2Fhenk%2Fcode%2Finspircd.git ident: Change idents with the ChangeIdent method. --- diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 302db0d97..74f049b44 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -368,11 +368,10 @@ class ModuleIdent : public Module } else { - user->ident = isock->result; + user->ChangeIdent(isock->result); user->WriteNotice("*** Found your ident, '" + user->ident + "'"); } - user->InvalidateCache(); isock->Close(); ext.unset(user); return MOD_RES_PASSTHRU;