mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 10:46:57 -07:00
new: the events ignore list is now exported as the events.stream state object via api.rest
This commit is contained in:
parent
2e3e4f453b
commit
80000ed737
2 changed files with 11 additions and 2 deletions
|
@ -49,6 +49,8 @@ func NewEventsStream(s *session.Session) *EventsStream {
|
|||
triggerList: NewTriggerList(),
|
||||
}
|
||||
|
||||
mod.State.Store("ignoring", &mod.Session.EventsIgnoreList)
|
||||
|
||||
mod.AddHandler(session.NewModuleHandler("events.stream on", "",
|
||||
"Start events stream.",
|
||||
func(args []string) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue