diff options
-rw-r--r-- | src/coremods/core_info/cmd_servlist.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coremods/core_info/cmd_servlist.cpp b/src/coremods/core_info/cmd_servlist.cpp index a6f4101ee..72f656477 100644 --- a/src/coremods/core_info/cmd_servlist.cpp +++ b/src/coremods/core_info/cmd_servlist.cpp @@ -45,7 +45,7 @@ CmdResult CommandServList::HandleLocal(LocalUser* user, const Params& parameters if (uline->IsModeSet(invisiblemode) || !InspIRCd::Match(uline->nick, mask)) continue; - if (has_type && (!user->IsOper() || !InspIRCd::Match(user->oper->name, parameters[2 ]))) + if (has_type && (!uline->IsOper() || !InspIRCd::Match(uline->oper->name, parameters[2]))) continue; Numeric::Numeric numeric(RPL_SERVLIST); |