summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorattilamolnar <attilamolnar@hush.com>2012-07-01 21:42:57 +0200
committerRobin Burchell <robin+git@viroteck.net>2012-07-01 22:51:54 +0200
commit16c80276ea6cba0d36da6f79a0fe7004b0e6f0ea (patch)
tree1b326bad605aa480643e6c5aea1d9f3c7cd63e24
parent7f1b71e56bfa336418e57814f3008c319f855024 (diff)
m_spanningtree Call the collision handler with the proper parameter (client ip instead of modestring) when a nick collides at burst
-rw-r--r--src/modules/m_spanningtree/uid.cpp2
1 files changed, 1 insertions, 1 deletions
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 &params, 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)