summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-01-30 16:46:23 +0000
committerSadie Powell <sadie@witchery.services>2021-01-30 16:46:23 +0000
commit563c9aba9ee3b62914a0c5903882f3a825258275 (patch)
tree08e6afd95fd5e36bd193cd9e3906dd2ebc893e87
parent219d0fa1a64c5c2c155942ebc52543dd956519b1 (diff)
Fix an oversight in the previous commit.
-rw-r--r--src/coremods/core_info/cmd_servlist.cpp2
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 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);