From 148122e8fa208764f4a241b6980d5cf7af3547a6 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Fri, 17 Aug 2018 14:21:39 +0200 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- session/session.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/session/session.go b/session/session.go index 4f9364c5..f2680243 100644 --- a/session/session.go +++ b/session/session.go @@ -282,9 +282,8 @@ func containsCapitals(s string) bool { } func (s *Session) Close() { - fmt.Printf("\nStopping modules and cleaning session state ...\n") - if *s.Options.Debug { + fmt.Printf("\nStopping modules and cleaning session state ...\n") s.Events.Add("session.closing", nil) }