Merge pull request #449 from Tibo442/patch-1

Fix destruction of text channels being counted as creation of text channels
This commit is contained in:
Master Kwoth authored and GitHub committed 2016-07-25 23:39:54 +02:00
commit ef960da294
1 file changed
+2 -2
+2 -2
View File
@@ -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
}
}
}
}