diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-03-15 15:29:25 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-03-15 15:29:25 +0100 |
commit | ea590a5d80741c3bc030cb0a2fcb3c59da4fd078 (patch) | |
tree | 6be464e4511cc58c8f7aecc19c485f847a6b387e /src/modules/m_spanningtree | |
parent | 66965131f834d14104ad618fd6d89bfd912cd120 (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.cpp | 2 |
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]; |