mirror of
https://github.com/bettercap/bettercap
synced 2025-08-14 02:36:57 -07:00
fix: initialize wifi module state correctly
This commit is contained in:
parent
9f61ec7f13
commit
ac2d333609
1 changed files with 1 additions and 0 deletions
|
@ -104,6 +104,7 @@ func NewWiFiModule(s *session.Session) *WiFiModule {
|
|||
}
|
||||
|
||||
mod.InitState("channels")
|
||||
mod.State.Store("channels", []int{})
|
||||
|
||||
mod.AddParam(session.NewStringParameter("wifi.interface",
|
||||
"",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue