diff options
| author | 2014-07-19 14:16:15 +0200 | |
|---|---|---|
| committer | 2014-07-19 14:16:15 +0200 | |
| commit | cec9265bdbb63c06d73cb983b3fc293905ed79d2 (patch) | |
| tree | 3eb53e9c588aae2b950dc345b12b6b7c1a52981d /src/modules/m_spanningtree/main.cpp | |
| parent | core_stats Deduplicate stats L and l code (diff) | |
Erase local users from UserManager::local_list in QuitUser()
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -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) |
