Fix pdelhooks not persisting

closes #300
This commit is contained in:
Josh Baker 2018-04-15 13:06:47 -07:00
parent bf1d04d7a5
commit fc8d3a2c67

View File

@ -235,6 +235,7 @@ func (c *Controller) cmdPDelHook(msg *server.Message) (res resp.Value, d command
delete(hm, h.Name) delete(hm, h.Name)
} }
delete(c.hooks, h.Name) delete(c.hooks, h.Name)
d.updated = true
count++ count++
} }
} }