mirror of
https://github.com/anope/anope.git
synced 2026-07-07 14:03:15 +02:00
Defer channel deletion until after i/o. There are some edge cases with events kicking users mid-event that can delete them.
This commit is contained in:
@@ -136,6 +136,7 @@ bool UplinkSocket::ProcessRead()
|
||||
{
|
||||
Anope::Process(buf);
|
||||
User::QuitUsers();
|
||||
Channel::DeleteChannels();
|
||||
}
|
||||
return b;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user