mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 21:13:18 -07:00
new: added session.stopped event (and fixed session.started event propagation)
This commit is contained in:
parent
fd160bf7ca
commit
22de9d3d4f
3 changed files with 5 additions and 4 deletions
|
@ -306,9 +306,7 @@ func (s *Session) Start() error {
|
|||
|
||||
s.startNetMon()
|
||||
|
||||
if *s.Options.Debug {
|
||||
s.Events.Add("session.started", nil)
|
||||
}
|
||||
s.Events.Add("session.started", nil)
|
||||
|
||||
// register js functions here to avoid cyclic dependency between
|
||||
// js and session
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue