summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);