From 17e5138acd18d34d2d5af59d581f6fe889219f20 Mon Sep 17 00:00:00 2001 From: evilsocket Date: Mon, 12 Mar 2018 17:01:53 +0100 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- modules/wifi_recon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/wifi_recon.go b/modules/wifi_recon.go index 0faf47c6..d40a4ab1 100644 --- a/modules/wifi_recon.go +++ b/modules/wifi_recon.go @@ -113,7 +113,7 @@ func NewWiFiModule(s *session.Session) *WiFiModule { })) w.AddHandler(session.NewModuleHandler("wifi.recon.channel", `wifi\.recon\.channel[\s]+([0-9]+(?:[, ]+[0-9]+)*|clear)`, - "WiFi channels (comma separated) or empty for channel hopping.", + "WiFi channels (comma separated) or 'clear' for channel hopping.", func(args []string) error { newfrequencies := w.frequencies[:0]