mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-09 07:40:53 +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 {
|
for key, val := range ChatSubscriptionInfo {
|
||||||
if val != nil {
|
if val != nil {
|
||||||
if len(val.Members) == 0 {
|
if len(val.Members) == 0 {
|
||||||
ChatSubscriptionInfo[key] = nil
|
delete(ChatSubscriptionInfo, key)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue