From 2a8c390498c26b7b0e26de945d5ed2141e43baac Mon Sep 17 00:00:00 2001 From: Michael Flaherty Date: Tue, 20 Feb 2018 10:38:17 -0800 Subject: [PATCH] Un-const string retrievals (#769) --- plugins/include/admin.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/include/admin.inc b/plugins/include/admin.inc index 17d2c99b..0edcc990 100644 --- a/plugins/include/admin.inc +++ b/plugins/include/admin.inc @@ -221,7 +221,7 @@ methodmap AdminId { // @param maxlength Maximum size of the output name buffer. // @return A GroupId index and a name pointer, or // INVALID_GROUP_ID and NULL if an error occurred. - public native GroupId GetGroup(int index, const char[] name, int maxlength); + public native GroupId GetGroup(int index, char[] name, int maxlength); // Sets a password on an admin. // @@ -565,7 +565,7 @@ native int GetAdminGroupCount(AdminId id); * @return A GroupId index and a name pointer, or * INVALID_GROUP_ID and NULL if an error occurred. */ -native GroupId GetAdminGroup(AdminId id, int index, const char[] name, int maxlength); +native GroupId GetAdminGroup(AdminId id, int index, char[] name, int maxlength); /** * Sets a password on an admin.