fix smart reply channel limiter

This commit is contained in:
Madpeter 2024-10-01 18:50:06 +01:00
parent 821c9fffdc
commit 9cd5e0f6f0

View file

@ -241,7 +241,7 @@ namespace SecondBotEvents.Services
} }
if (mode == "CHAT") if (mode == "CHAT")
{ {
if (target_channel <= 0) if (target_channel < 0)
{ {
LogFormater.Crit("[SmartReply] output Channel must be zero or higher - using 99"); LogFormater.Crit("[SmartReply] output Channel must be zero or higher - using 99");
target_channel = 999; target_channel = 999;