X-Git-Url: https://jfr.im/git/erebus.git/blobdiff_plain/40ee6c8e76c06f278c34cf336d5a47b4253953f4..2564f20844e0fdd2354f0cb94599eddc93d6e41a:/modules/control.py diff --git a/modules/control.py b/modules/control.py index 929fc25..5afae81 100644 --- a/modules/control.py +++ b/modules/control.py @@ -99,7 +99,7 @@ def _whois(user, chan, showglevel=True, showclevel=True): else: fmt += " (not staff)" - if showclevel and chan is not None: + if (showclevel or showglevel) and chan is not None: clev = chan.levelof(user.auth) if clev >= 1: fillers['clevel'] = (lib.clevs[clev] if clev < len(lib.clevs) else clev)