mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
0108e41e20
commit
41d1f5a8a0
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ func NewEventsStream(s *session.Session) *EventsStream {
|
|||
}))
|
||||
|
||||
stream.AddHandler(session.NewModuleHandler("events.waitfor TAG TIMEOUT?", `events.waitfor ([^\s]+)([\s\d]*)`,
|
||||
"Show events stream.",
|
||||
"Wait for an event with the given tag either forever or for a timeout in seconds.",
|
||||
func(args []string) error {
|
||||
tag := args[0]
|
||||
timeout := 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue