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