adjustments to the groupmembersevent awaiter
This commit is contained in:
parent
986a24e2cd
commit
de57778c85
1 changed files with 6 additions and 9 deletions
|
|
@ -31,17 +31,14 @@ 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)
|
// oh shit its for me
|
||||||
{
|
PurgeAwaiters.Add(await_reply.Key);
|
||||||
// oh shit its for me
|
await_reply.Value.Key.Callback(await_reply.Value.Value, e);
|
||||||
PurgeAwaiters.Add(await_reply.Key);
|
|
||||||
await_reply.Value.Key.Callback(await_reply.Value.Value, e);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue