diff --git a/pwnagotchi/agent.py b/pwnagotchi/agent.py index f8c8ff9a..497c91ed 100644 --- a/pwnagotchi/agent.py +++ b/pwnagotchi/agent.py @@ -190,7 +190,7 @@ class Agent(Client, AsyncAdvertiser, AsyncTrainer): aps = [] try: s = self.session() - plugins.on("unfiltered_ap_list", s['wifi']['aps']) + plugins.on("unfiltered_ap_list", self, s['wifi']['aps']) for ap in s['wifi']['aps']: if ap['hostname'] not in whitelist: if self._filter_included(ap):