diff options
Diffstat (limited to 'IrcStates/ChannelUser.cs')
-rw-r--r-- | IrcStates/ChannelUser.cs | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/IrcStates/ChannelUser.cs b/IrcStates/ChannelUser.cs deleted file mode 100644 index fab881c..0000000 --- a/IrcStates/ChannelUser.cs +++ /dev/null @@ -1,32 +0,0 @@ -using System.Collections.Generic; - -namespace IrcStates -{ - public class ChannelUser - { - public ChannelUser() - { - Modes = new List<string>(); - } - - public List<string> Modes { get; set; } - - protected bool Equals(ChannelUser other) - { - return other != null && Equals(Modes, other.Modes); - } - - public override bool Equals(object obj) - { - if (ReferenceEquals(null, obj)) return false; - if (ReferenceEquals(this, obj)) return true; - if (obj.GetType() != GetType()) return false; - return Equals((ChannelUser) obj); - } - - public override int GetHashCode() - { - return Modes != null ? Modes.GetHashCode() : 0; - } - } -} |