From 90abe2cd475c8ca2e81626f565d173e9f56d1251 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sat, 26 Jul 2014 15:47:52 +0200 Subject: m_spanningtree Update comments around collision handling --- src/modules/m_spanningtree/nick.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/modules/m_spanningtree/nick.cpp') diff --git a/src/modules/m_spanningtree/nick.cpp b/src/modules/m_spanningtree/nick.cpp index c689a0fdd..cdec280e1 100644 --- a/src/modules/m_spanningtree/nick.cpp +++ b/src/modules/m_spanningtree/nick.cpp @@ -45,7 +45,8 @@ CmdResult CommandNick::HandleRemote(RemoteUser* user, std::vector& User* x = ServerInstance->FindNickOnly(params[0]); if ((x) && (x != user) && (x->registered == REG_ALL)) { - /* x is local, who is remote */ + // '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 int collideret = Utils->DoCollision(x, TreeServer::Get(user), newts, user->ident, user->GetIPString(), user->uuid); if (collideret != 1) { -- cgit v1.3.1-10-gc9f91