Skip to content

Commit 80ca6f8

Browse files
authored
Fix return value of AdminId.GetUsername. (#2438)
1 parent feaeb6a commit 80ca6f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/include/admin.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ methodmap AdminId {
175175
// @param name String buffer to store name.
176176
// @param maxlength Maximum size of string buffer.
177177
// @return Number of bytes written.
178-
public native bool GetUsername(char[] name, int maxlength);
178+
public native int GetUsername(char[] name, int maxlength);
179179

180180
// Binds an admin to an identity for fast lookup later on. The bind must be unique.
181181
//

0 commit comments

Comments
 (0)