ChannelMembership

- Added `wasGood()`
This commit is contained in:
Tristan B. Velloza Kildaire 2023-11-17 17:53:47 +02:00
parent 33b455fa35
commit 874d1c77e4
1 changed files with 5 additions and 0 deletions

View File

@ -178,6 +178,11 @@ public class ChannelMembership : Command
return replyStatus(MemershipResult.BAD);
}
public bool wasGood()
{
return this.status == MemershipResult.GOOD;
}
private ChannelMembership replyStatus(MemershipResult result)
{
this.status = result;