mirror of
https://github.com/bettercap/bettercap
synced 2025-08-19 04:59:25 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
5bf7814cba
commit
148122e8fa
1 changed files with 1 additions and 2 deletions
|
@ -282,9 +282,8 @@ func containsCapitals(s string) bool {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *Session) Close() {
|
func (s *Session) Close() {
|
||||||
fmt.Printf("\nStopping modules and cleaning session state ...\n")
|
|
||||||
|
|
||||||
if *s.Options.Debug {
|
if *s.Options.Debug {
|
||||||
|
fmt.Printf("\nStopping modules and cleaning session state ...\n")
|
||||||
s.Events.Add("session.closing", nil)
|
s.Events.Add("session.closing", nil)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue