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] {
case "delete":
return ModDelete
case "overchan-inet-ban":
return ModInetBan
}
@ -425,7 +424,6 @@ func (mod *modEngine) Execute(ev ModEvent, pubkey string) {
action := ev.Action()
target := ev.Target()
switch action {
case ModDeleteAlt:
case ModDelete:
if mod.AllowDelete(pubkey, target) {
mod.Do(ev)