Fix destruction of text channels being counted as creation of text channels
This commit is contained in:
1 parent
bbf2789704
commit
6ee099023f
1 file changed
+2
-2
@@ -98,7 +98,7 @@ namespace NadekoBot
|
||||
if (e.Channel.IsPrivate)
|
||||
return;
|
||||
if (e.Channel.Type == ChannelType.Text)
|
||||
VoiceChannelsCount++;
|
||||
TextChannelsCount--;
|
||||
else if (e.Channel.Type == ChannelType.Voice)
|
||||
VoiceChannelsCount--;
|
||||
}
|
||||
@@ -235,4 +235,4 @@ namespace NadekoBot
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user