mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-01 23:48:31 +00:00
Should be deleting the key too
This commit is contained in:
parent
e11c6e6479
commit
b2624ec77f
1 changed files with 1 additions and 1 deletions
|
@ -163,7 +163,7 @@ func deadChannelReaper() {
|
|||
for key, val := range ChatSubscriptionInfo {
|
||||
if val != nil {
|
||||
if len(val.Members) == 0 {
|
||||
ChatSubscriptionInfo[key] = nil
|
||||
delete(ChatSubscriptionInfo, key)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue