Archived
1
0

add mod command

This commit is contained in:
Jeff Becker 2018-11-27 10:50:08 -05:00
parent 0e6e2093e4
commit 28e8e95207
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -88,6 +88,8 @@ func (self simpleModEvent) String() string {
func (self simpleModEvent) Action() ModAction { func (self simpleModEvent) Action() ModAction {
switch strings.ToLower(strings.Split(string(self), " ")[0]) { switch strings.ToLower(strings.Split(string(self), " ")[0]) {
case "remove":
return ModRemove
case "delete": case "delete":
return ModDelete return ModDelete
case "overchan-inet-ban": case "overchan-inet-ban":