Fixed erroneous const-qualification of name param of GetAdminUsername (bug 5267, r=psychonic).
authorAsher Baker <asherkin@gmail.com>
Mon May 28 00:52:59 2012 +0100 (2012-05-28)
changeset 35311fccac8685a8
parent 3530 c7421e302b11
child 3532 88a0d2c30bc3
Fixed erroneous const-qualification of name param of GetAdminUsername (bug 5267, r=psychonic).
plugins/include/admin.inc
     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.