Archived
1
0
This commit is contained in:
Jeff 2017-04-20 18:08:32 -04:00
parent cff94dc8d8
commit f370a4ccbd

View File

@ -84,7 +84,6 @@ func (self simpleModEvent) Action() ModAction {
switch strings.Split(string(self), " ")[0] { switch strings.Split(string(self), " ")[0] {
case "delete": case "delete":
return ModDelete return ModDelete
case "overchan-inet-ban": case "overchan-inet-ban":
return ModInetBan return ModInetBan
} }
@ -425,7 +424,6 @@ func (mod *modEngine) Execute(ev ModEvent, pubkey string) {
action := ev.Action() action := ev.Action()
target := ev.Target() target := ev.Target()
switch action { switch action {
case ModDeleteAlt:
case ModDelete: case ModDelete:
if mod.AllowDelete(pubkey, target) { if mod.AllowDelete(pubkey, target) {
mod.Do(ev) mod.Do(ev)