diff options
| author | 2007-08-28 20:21:27 +0000 | |
|---|---|---|
| committer | 2007-08-28 20:21:27 +0000 | |
| commit | ab7bad9d878793f0e46185ee53d6064de5073fc3 (patch) | |
| tree | 037ddac7b26eaf7f1d37d1c65c4fb313cbb30391 /src/modules/m_spanningtree/main.cpp | |
| parent | When a server sends a SERVER command with <5 params, dont just close the conn... (diff) | |
Note: NICK now takes two params, a nickname and a timestamp of the change.
When a nick change occurs this must update the users timestamp, so that the users nick is marked to a newer TS.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7977 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 09a788bd9..96ceee539 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -1095,6 +1095,8 @@ void ModuleSpanningTree::OnUserPostNick(userrec* user, const std::string &oldnic { std::deque<std::string> params; params.push_back(user->nick); + user->age = ServerInstance->Time(true); + params.push_back(ConvToStr(user->age)); Utils->DoOneToMany(user->uuid,"NICK",params); } } |
