mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-13 19:24:23 +00:00
Update the log level when userobj is not found!
This commit is contained in:
@@ -188,7 +188,7 @@ def handle_on_quit(uplink: 'Defender', srvmsg: list[str]):
|
|||||||
confmodel = uplink.ModConfig
|
confmodel = uplink.ModConfig
|
||||||
|
|
||||||
if userobj is None:
|
if userobj is None:
|
||||||
uplink.Logs.error("Error when parsing message QUIT", exc_info=True)
|
uplink.Logs.debug(f"This UID do not exist anymore: {srvmsg}")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
ban_all_chan = uplink.Base.int_if_possible(confmodel.reputation_ban_all_chan)
|
ban_all_chan = uplink.Base.int_if_possible(confmodel.reputation_ban_all_chan)
|
||||||
|
|||||||
Reference in New Issue
Block a user