diff options
author | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-02 15:37:24 +0000 |
---|---|---|
committer | danieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-09-02 15:37:24 +0000 |
commit | 662e5593af02eff45ecd84808196495c11e3e9cb (patch) | |
tree | 85bd71f06aaa001e13a9bf297d4624cf6695d62f /src/modules/m_spanningtree/main.cpp | |
parent | 789fc05c20bf4a088194075c43c606c6a3a40696 (diff) |
Send out save SAVE on forced-UUID nick change of a remote user
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11661 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
-rw-r--r-- | src/modules/m_spanningtree/main.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index b533f5484..9bba4b0d3 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -699,6 +699,13 @@ void ModuleSpanningTree::OnUserPostNick(User* user, const std::string &oldnick) params.push_back(ConvToStr(user->age)); Utils->DoOneToMany(user->uuid,"NICK",params); } + else if (!loopCall && user->nick == user->uuid) + { + parameterlist params; + params.push_back(user->uuid); + params.push_back(ConvToStr(user->age)); + Utils->DoOneToMany(ServerInstance->Config->GetSID(),"SAVE",params); + } } void ModuleSpanningTree::OnUserKick(User* source, User* user, Channel* chan, const std::string &reason, bool &silent) |