aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/nick.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2015-05-23 15:10:42 +0200
committerGravatar Attila Molnar2015-05-23 15:10:42 +0200
commitffc8101b5fe2fae0de62d94f4a95d5434989dffc (patch)
tree77cf382aba6960fad05ec4df8ea86da524542487 /src/modules/m_spanningtree/nick.cpp
parentRemove dead code from UserManager::AddUser() (diff)
m_spanningtree Log nick collisions more verbosely and in all cases
Diffstat (limited to 'src/modules/m_spanningtree/nick.cpp')
-rw-r--r--src/modules/m_spanningtree/nick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/nick.cpp b/src/modules/m_spanningtree/nick.cpp
index 9496c2874..1d853a2df 100644
--- a/src/modules/m_spanningtree/nick.cpp
+++ b/src/modules/m_spanningtree/nick.cpp
@@ -47,7 +47,7 @@ CmdResult CommandNick::HandleRemote(RemoteUser* user, std::vector<std::string>&
{
// 'x' is the already existing user using the same nick as params[0]
// 'user' is the user trying to change nick to the in use nick
- bool they_change = Utils->DoCollision(x, TreeServer::Get(user), newts, user->ident, user->GetIPString(), user->uuid);
+ bool they_change = Utils->DoCollision(x, TreeServer::Get(user), newts, user->ident, user->GetIPString(), user->uuid, "NICK");
if (they_change)
{
// Remote client lost, or both lost, rewrite this nick change as a change to uuid before