summaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-03-15 15:29:25 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-03-15 15:29:25 +0100
commitea590a5d80741c3bc030cb0a2fcb3c59da4fd078 (patch)
tree6be464e4511cc58c8f7aecc19c485f847a6b387e /src/modules/m_spanningtree
parent66965131f834d14104ad618fd6d89bfd912cd120 (diff)
Change allocation of UserManager::clientlist to be physically part of the object containing it
Diffstat (limited to 'src/modules/m_spanningtree')
-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 37c54ae60..f248b3860 100644
--- a/src/modules/m_spanningtree/uid.cpp
+++ b/src/modules/m_spanningtree/uid.cpp
@@ -77,7 +77,7 @@ CmdResult CommandUID::HandleServer(TreeServer* remoteserver, std::vector<std::st
ServerInstance->Logs->Log(MODNAME, LOG_DEFAULT, "Duplicate UUID %s in client introduction", params[0].c_str());
return CMD_INVALID;
}
- (*(ServerInstance->Users->clientlist))[params[2]] = _new;
+ ServerInstance->Users->clientlist[params[2]] = _new;
_new->nick = params[2];
_new->host = params[3];
_new->dhost = params[4];