From: John Runyon Date: Mon, 4 Sep 2023 02:23:55 +0000 (-0600) Subject: control - show ignored status in whois X-Git-Url: https://jfr.im/git/erebus.git/commitdiff_plain/44aea37bab48695e5de7552b729f29fdf75f94d9 control - show ignored status in whois --- diff --git a/modules/control.py b/modules/control.py index 4d5dbcc..27d3798 100644 --- a/modules/control.py +++ b/modules/control.py @@ -91,10 +91,12 @@ def _whois(user, chan, showglevel=True, showclevel=True): fmt = "%(auth)s" if showglevel and user.glevel >= 1: - fillers['glevel'] = user.glevel - fmt += " (global access: %(glevel)s)" + fillers['glevel'] = user.glevel + fmt += " (global access: %(glevel)s)" elif user.glevel >= 1: fmt += " (staff)" + elif user.glevel <= -2: + fmt += " (ignored)" else: fmt += " (not staff)"