From 80ca6f8cd41dad46f53bcaecfd98e8b4306086b7 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 10 Apr 2026 08:31:15 -0700 Subject: [PATCH] Fix return value of AdminId.GetUsername. (#2438) --- plugins/include/admin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/include/admin.inc b/plugins/include/admin.inc index ffed13fa..f7f866dc 100644 --- a/plugins/include/admin.inc +++ b/plugins/include/admin.inc @@ -175,7 +175,7 @@ methodmap AdminId { // @param name String buffer to store name. // @param maxlength Maximum size of string buffer. // @return Number of bytes written. - public native bool GetUsername(char[] name, int maxlength); + public native int GetUsername(char[] name, int maxlength); // Binds an admin to an identity for fast lookup later on. The bind must be unique. //