mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-04 00:48:32 +00:00
Fix 'sub' commands after 'ready'
This commit is contained in:
parent
801a57a1fa
commit
822e298d5d
5 changed files with 65 additions and 49 deletions
|
@ -111,11 +111,6 @@ func UnsubscribeAll(client *ClientInfo) {
|
|||
return // no need to remove from a high-contention list when the server is closing
|
||||
}
|
||||
|
||||
client.Mutex.Lock()
|
||||
client.PendingSubscriptionsBacklog = nil
|
||||
client.PendingSubscriptionsBacklog = nil
|
||||
client.Mutex.Unlock()
|
||||
|
||||
GlobalSubscriptionLock.Lock()
|
||||
RemoveFromSliceCl(&GlobalSubscriptionInfo, client)
|
||||
GlobalSubscriptionLock.Unlock()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue