mirror of
https://github.com/bettercap/bettercap
synced 2025-07-15 09:33:40 -07:00
fix: fixed events.stream time
This commit is contained in:
parent
3a2c5e14d2
commit
be570432ef
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ func (s *EventsStream) Start() error {
|
||||||
var e session.Event
|
var e session.Event
|
||||||
select {
|
select {
|
||||||
case e = <-s.Session.Events.NewEvents:
|
case e = <-s.Session.Events.NewEvents:
|
||||||
fmt.Printf("[%s] [%s] %v\n", e.Time.UTC().Format("2006-01-02 15:04:05"), core.Green(e.Tag), e.Data)
|
fmt.Printf("[%s] [%s] %v\n", e.Time.Format("2006-01-02 15:04:05"), core.Green(e.Tag), e.Data)
|
||||||
break
|
break
|
||||||
|
|
||||||
case <-s.quit:
|
case <-s.quit:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue