Fixed erroneous const-qualification of name param of GetAdminUsername (bug 5267, r=psychonic).
Fixed erroneous const-qualification of name param of GetAdminUsername (
bug 5267, r=psychonic).
1.1 --- a/plugins/include/admin.inc Sun May 27 19:07:44 2012 -0400
1.2 +++ b/plugins/include/admin.inc Mon May 28 00:52:59 2012 +0100
1.3 @@ -347,7 +347,7 @@
1.4 * @param maxlength Maximum size of string buffer.
1.5 * @return Number of bytes written.
1.6 */
1.7 -native GetAdminUsername(AdminId:id, const String:name[], maxlength);
1.8 +native GetAdminUsername(AdminId:id, String:name[], maxlength);
1.9
1.10 /**
1.11 * Binds an admin to an identity for fast lookup later on. The bind must be unique.