From b3f81967c6030af767f344cc5e174402d15bb385 Mon Sep 17 00:00:00 2001 From: jokob-sk Date: Sun, 26 May 2024 15:50:26 +1000 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=A0down=5Freconnected=20support=20v0.7?= =?UTF-8?q?=20#611?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/initialise.py | 2 +- server/networkscan.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/initialise.py b/server/initialise.py index aaca54e3..4fa8a3bd 100755 --- a/server/initialise.py +++ b/server/initialise.py @@ -277,7 +277,7 @@ def importConfigs (db, all_plugins): plugin_indexes_to_remove.sort(reverse=True) for indx in plugin_indexes_to_remove: pref = all_plugins[indx]["unique_prefix"] - mylog('none', [f'[Config] ⛔ Unloading plugin {pref} because not in the LOADED_PLUGINS setting or disabled by default']) + mylog('none', [f'[Config] ⛔ Unloading {pref}']) all_plugins.pop(indx) # all_plugins has now only initialized plugins, get all prefixes diff --git a/server/networkscan.py b/server/networkscan.py index fa51890f..9a746871 100755 --- a/server/networkscan.py +++ b/server/networkscan.py @@ -200,7 +200,7 @@ def insert_events (db): ELSE 'Connected' END, '', - d.dev_AlertEvents + 1 FROM LatestEventsPerMAC AS d JOIN CurrentScan AS c ON d.dev_MAC = c.cur_MAC LEFT JOIN LatestEventsPerMAC AS last_event ON d.dev_MAC = last_event.eve_MAC