This commit is contained in:
Kwoth 2016-07-26 01:32:51 +02:00
commit c1632da0f0

View File

@ -106,7 +106,7 @@ namespace NadekoBot
if (e.Channel.IsPrivate) if (e.Channel.IsPrivate)
return; return;
if (e.Channel.Type == ChannelType.Text) if (e.Channel.Type == ChannelType.Text)
VoiceChannelsCount++; TextChannelsCount--;
else if (e.Channel.Type == ChannelType.Voice) else if (e.Channel.Type == ChannelType.Voice)
VoiceChannelsCount--; VoiceChannelsCount--;
} }
@ -264,4 +264,4 @@ namespace NadekoBot
#endif #endif
} }
} }
} }