diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-07-19 14:16:15 +0200 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-07-19 14:16:15 +0200 |
commit | cec9265bdbb63c06d73cb983b3fc293905ed79d2 (patch) | |
tree | 3eb53e9c588aae2b950dc345b12b6b7c1a52981d /src/modules/m_spanningtree | |
parent | 2120c5b59857ac8afba6a5b7d43318ee9189ca78 (diff) |
Erase local users from UserManager::local_list in QuitUser()
Diffstat (limited to 'src/modules/m_spanningtree')
-rw-r--r-- | src/modules/m_spanningtree/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index 3393539cc..979048d65 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -59,6 +59,8 @@ namespace { void SetLocalUsersServer(Server* newserver) { + // Does not change the server of quitting users because those are not in the list + ServerInstance->FakeClient->server = newserver; const LocalUserList& list = ServerInstance->Users->local_users; for (LocalUserList::const_iterator i = list.begin(); i != list.end(); ++i) |