summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-02-01 10:39:11 +0000
committerPeter Powell <petpow@saberuk.com>2019-02-04 09:16:40 +0000
commitf35490427c17229e81b1ff266c7dcaf67d1a35b5 (patch)
tree4f0ab1258d1946edceb535ae9d4a18c2d0034678
parent3b9ef1ae8dcaf2d36f0e31e8b39fe5cfea304d74 (diff)
ident: Change idents with the ChangeIdent method.
-rw-r--r--src/modules/m_ident.cpp3
1 files changed, 1 insertions, 2 deletions
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;