git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7978
e03df62e-2008-0410-955e-
edbf42e46eb7
{
std::deque<std::string> params;
params.push_back(user->nick);
{
std::deque<std::string> params;
params.push_back(user->nick);
- user->age = ServerInstance->Time(true);
+
+ /** IMPORTANT: We don't update the TS if the oldnick is just a case change of the newnick!
+ */
+ if (irc::string(user->nick) != assign(oldnick))
+ user->age = ServerInstance->Time(true);
+
params.push_back(ConvToStr(user->age));
Utils->DoOneToMany(user->uuid,"NICK",params);
}
params.push_back(ConvToStr(user->age));
Utils->DoOneToMany(user->uuid,"NICK",params);
}