inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit f35490427c17229e81b1ff266c7dcaf67d1a35b5
parent 3b9ef1ae8dcaf2d36f0e31e8b39fe5cfea304d74
Author: Peter Powell <petpow@saberuk.com>
Date:   Fri,  1 Feb 2019 10:39:11 +0000

ident: Change idents with the ChangeIdent method.

Diffstat:
Msrc/modules/m_ident.cpp | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 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;