1
0
Fork 0
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:
Kane York 2015-10-29 15:02:28 -07:00
parent e11c6e6479
commit b2624ec77f

View file

@ -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)
}
}
}