From 563c9aba9ee3b62914a0c5903882f3a825258275 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sat, 30 Jan 2021 16:46:23 +0000 Subject: Fix an oversight in the previous commit. --- src/coremods/core_info/cmd_servlist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/coremods/core_info/cmd_servlist.cpp b/src/coremods/core_info/cmd_servlist.cpp index 9490f7280..a6f4101ee 100644 --- a/src/coremods/core_info/cmd_servlist.cpp +++ b/src/coremods/core_info/cmd_servlist.cpp @@ -53,7 +53,7 @@ CmdResult CommandServList::HandleLocal(LocalUser* user, const Params& parameters .push(uline->nick) .push(uline->server->GetName()) .push("*") - .push(user->IsOper() ? user->oper->name : "*") + .push(uline->IsOper() ? uline->oper->name : "*") .push(0) .push(uline->GetRealName()); user->WriteNumeric(numeric); -- cgit v1.2.3