summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_spanningtree/main.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index ee4c4bdd8..ce13e5d25 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -604,12 +604,9 @@ void ModuleSpanningTree::OnUserPostNick(User* user, const std::string &oldnick)
params.push_back(ConvToStr(user->age));
params.Broadcast();
}
- else if (!loopCall && user->nick == user->uuid)
+ else if (!loopCall)
{
- CmdBuilder params("SAVE");
- params.push_back(user->uuid);
- params.push_back(ConvToStr(user->age));
- params.Broadcast();
+ ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, "WARNING: Changed nick of remote user %s from %s to %s TS %lu by ourselves!", user->uuid.c_str(), oldnick.c_str(), user->nick.c_str(), (unsigned long) user->age);
}
}