diff options
| author | 2026-03-01 18:07:35 +0000 | |
|---|---|---|
| committer | 2026-03-01 18:07:35 +0000 | |
| commit | 44f528a12b528f58d77004ef18f0a1e35a5ead93 (patch) | |
| tree | 22349b478011b4b7a3870b73537a2fef93ecc0e3 /modules/setname.cpp | |
| parent | Run incoming ENCAP commands through the old protocol preprocessor. (diff) | |
Fix regular users being told about server operator privileges.
Diffstat (limited to 'modules/setname.cpp')
| -rw-r--r-- | modules/setname.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setname.cpp b/modules/setname.cpp index f7bb4a5d9..b10585edf 100644 --- a/modules/setname.cpp +++ b/modules/setname.cpp @@ -53,7 +53,7 @@ public: target = ServerInstance->Users.FindNick(targetnick, true); if (user != target && !user->HasPrivPermission("users/setname-others")) { - user->WriteNumeric(Numerics::NoPrivileges("your server operator account does not have the users/setname-others privilege")); + user->WriteNumeric(Numerics::NoPrivileges(user, "your server operator account does not have the users/setname-others privilege")); return CmdResult::FAILURE; } } |
