diff options
author | Adam <Adam@anope.org> | 2015-09-17 10:07:30 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2015-09-17 10:07:30 -0400 |
commit | 1ac4a1d9a56141d18b3e8a32fe165535031a4c67 (patch) | |
tree | 5ee8af16acaaad7307732213afaf9eaa333a76d2 /src/uplink.cpp | |
parent | 8d13a355cd9b851b5cf9f6012c77b2af68a039f1 (diff) |
Defer channel deletion until after i/o. There are some edge cases with events kicking users mid-event that can delete them.
Diffstat (limited to 'src/uplink.cpp')
-rw-r--r-- | src/uplink.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uplink.cpp b/src/uplink.cpp index 86851fc50..6171e2353 100644 --- a/src/uplink.cpp +++ b/src/uplink.cpp @@ -136,6 +136,7 @@ bool UplinkSocket::ProcessRead() { Anope::Process(buf); User::QuitUsers(); + Channel::DeleteChannels(); } return b; } |