ensure localchat is zero or higher for relays

This commit is contained in:
Madpeter 2024-07-21 17:08:57 +01:00
parent 0d730b280b
commit 0a531801c4

View file

@ -183,6 +183,10 @@ namespace SecondBotEvents.Services
{ {
continue; continue;
} }
if(target < 0)
{
continue;
}
GetClient().Self.Chat(eventMessage, target, ChatType.Normal); GetClient().Self.Chat(eventMessage, target, ChatType.Normal);
} }
else if(targetType == "group") else if(targetType == "group")