From 6ee099023f49d6dd636baedb0693572a2c0ead97 Mon Sep 17 00:00:00 2001 From: Tibo Date: Mon, 25 Jul 2016 23:33:34 +0200 Subject: [PATCH] Fix destruction of text channels being counted as creation of text channels --- NadekoBot/Classes/NadekoStats.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NadekoBot/Classes/NadekoStats.cs b/NadekoBot/Classes/NadekoStats.cs index 0e7dcb85..44f2533c 100644 --- a/NadekoBot/Classes/NadekoStats.cs +++ b/NadekoBot/Classes/NadekoStats.cs @@ -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 } } -} \ No newline at end of file +}