From 16c80276ea6cba0d36da6f79a0fe7004b0e6f0ea Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Sun, 1 Jul 2012 21:42:57 +0200 Subject: m_spanningtree Call the collision handler with the proper parameter (client ip instead of modestring) when a nick collides at burst --- src/modules/m_spanningtree/uid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/modules/m_spanningtree/uid.cpp b/src/modules/m_spanningtree/uid.cpp index 0a8f4dbfc..7dd2cad1d 100644 --- a/src/modules/m_spanningtree/uid.cpp +++ b/src/modules/m_spanningtree/uid.cpp @@ -67,7 +67,7 @@ CmdResult CommandUID::Handle(const parameterlist ¶ms, User* serversrc) /* * Nick collision. */ - int collide = sock->DoCollision(iter->second, age_t, params[5], modestr, params[0]); + int collide = sock->DoCollision(iter->second, age_t, params[5], params[6], params[0]); ServerInstance->Logs->Log("m_spanningtree",DEBUG,"*** Collision on %s, collide=%d", params[2].c_str(), collide); if (collide != 1) -- cgit v1.2.3