summaryrefslogtreecommitdiff
path: root/src/uplink.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2015-09-17 10:07:30 -0400
committerAdam <Adam@anope.org>2015-09-17 10:07:30 -0400
commit1ac4a1d9a56141d18b3e8a32fe165535031a4c67 (patch)
tree5ee8af16acaaad7307732213afaf9eaa333a76d2 /src/uplink.cpp
parent8d13a355cd9b851b5cf9f6012c77b2af68a039f1 (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.cpp1
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;
}