diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-02 00:52:12 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-02 00:52:12 +0000 |
commit | cdf850dcbbd3153bceaed15ee2d3b42f568c9bf3 (patch) | |
tree | 090560df0e4be54d6ef2e35f4d39e29547bba717 /src/users.cpp | |
parent | df0489220c991cfe106c88fbfaa2a14be0682779 (diff) |
Add OnChangeIdent and FIDENT support
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11652 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp index 8f67278e8..192b4aace 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1631,6 +1631,8 @@ bool User::ChangeIdent(const char* newident) if (this->ident == newident) return true; + FOREACH_MOD(I_OnChangeIdent, OnChangeIdent(this,newident)); + std::string quitstr = ":" + GetFullHost() + " QUIT :Changing ident"; this->ident.assign(newident, 0, ServerInstance->Config->Limits.IdentMax + 1); |