15 lines
399 B
C#
15 lines
399 B
C#
using System;
|
|
using System.Net;
|
|
|
|
namespace SharpChat.Events {
|
|
[Event(TYPE)]
|
|
public class IPBanRemovedEvent : Event {
|
|
public const string TYPE = @"ban:remove:ip";
|
|
|
|
public IPAddress IPAddress { get; }
|
|
|
|
public IPBanRemovedEvent(IPAddress ipAddress) : base() {
|
|
IPAddress = ipAddress ?? throw new ArgumentNullException(nameof(ipAddress));
|
|
}
|
|
}
|
|
}
|