summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/svsnick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spanningtree/svsnick.cpp')
-rw-r--r--src/modules/m_spanningtree/svsnick.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_spanningtree/svsnick.cpp b/src/modules/m_spanningtree/svsnick.cpp
index adf8f012e..9b0d3bed3 100644
--- a/src/modules/m_spanningtree/svsnick.cpp
+++ b/src/modules/m_spanningtree/svsnick.cpp
@@ -52,7 +52,7 @@ bool TreeSocket::ForceNick(const std::string &prefix, std::deque<std::string> &p
if (!u->ForceNickChange(params[1].c_str()))
{
/* buh. UID them */
- if (!u->ForceNickChange(u->uuid))
+ if (!u->ForceNickChange(u->uuid.c_str()))
{
this->Instance->Users->QuitUser(u, "Nickname collision");
return true;