adjustments to the groupmembersevent awaiter

This commit is contained in:
Madpeter 2020-07-18 19:27:23 +01:00
parent 986a24e2cd
commit de57778c85

View file

@ -31,9 +31,7 @@ namespace BSB.bottypes
{ {
// eventid // eventid
// KeyValuePair<CommandLink,Args> // KeyValuePair<CommandLink,Args>
// Args: Group, Message // Args: Group, args, args
if (await_reply.Value.Value.Length == 2)
{
if (UUID.TryParse(await_reply.Value.Value[0], out UUID test_group) == true) if (UUID.TryParse(await_reply.Value.Value[0], out UUID test_group) == true)
{ {
if (test_group == e.GroupID) if (test_group == e.GroupID)
@ -44,7 +42,6 @@ namespace BSB.bottypes
} }
} }
} }
}
foreach (string eventid in PurgeAwaiters) foreach (string eventid in PurgeAwaiters)
{ {
await_event_ages.Remove(eventid); await_event_ages.Remove(eventid);