1.1 --- a/plugins/include/admin.inc Wed Jul 31 22:57:50 2013 -0400
1.2 +++ b/plugins/include/admin.inc Thu Aug 01 09:26:34 2013 -0400
1.3 @@ -138,7 +138,7 @@
1.4 */
1.5 enum GroupId
1.6 {
1.7 - INVALID_GROUP_ID = -1, /**< An invalid/nonexistant group */
1.8 + INVALID_GROUP_ID = -1, /**< An invalid/non-existent group */
1.9 };
1.10
1.11 /**
1.12 @@ -146,7 +146,7 @@
1.13 */
1.14 enum AdminId
1.15 {
1.16 - INVALID_ADMIN_ID = -1, /**< An invalid/nonexistant admin */
1.17 + INVALID_ADMIN_ID = -1, /**< An invalid/non-existent admin */
1.18 };
1.19
1.20 /**
1.21 @@ -169,7 +169,7 @@
1.22 };
1.23
1.24 /**
1.25 - * Called when part of the cache which needs to be rebuilt.
1.26 + * Called when part of the cache needs to be rebuilt.
1.27 *
1.28 * @param part Part of the admin cache to rebuild.
1.29 */
1.30 @@ -324,7 +324,7 @@
1.31 * Registers an authentication identity type. You normally never need to call this except for
1.32 * very specific systems.
1.33 *
1.34 - * @param codename Codename to use for your authentication type.
1.35 + * @param name Codename to use for your authentication type.
1.36 * @noreturn
1.37 */
1.38 native RegisterAuthIdentType(const String:name[]);
1.39 @@ -425,7 +425,7 @@
1.40 * Sets a password on an admin.
1.41 *
1.42 * @param id AdminId index of the admin.
1.43 - * @param passwd String containing the password.
1.44 + * @param password String containing the password.
1.45 * @noreturn
1.46 */
1.47 native SetAdminPassword(AdminId:id, const String:password[]);
1.48 @@ -434,12 +434,12 @@
1.49 * Gets an admin's password.
1.50 *
1.51 * @param id AdminId index of the admin.
1.52 - * @param name Optional buffer to store the admin's password.
1.53 + * @param buffer Optional buffer to store the admin's password.
1.54 * @param maxlength Maximum size of the output name buffer.
1.55 * Note: This will safely chop UTF-8 strings.
1.56 * @return True if there was a password set, false otherwise.
1.57 */
1.58 -native bool:GetAdminPassword(AdminId:id, const String:buffer[]="", maxlength=0);
1.59 +native bool:GetAdminPassword(AdminId:id, String:buffer[]="", maxlength=0);
1.60
1.61 /**
1.62 * Attempts to find an admin by an auth method and an identity.
1.63 @@ -537,7 +537,7 @@
1.64 /**
1.65 * Tests whether one admin can target another.
1.66 *
1.67 - * The hueristics for this check are as follows:
1.68 + * The heuristics for this check are as follows:
1.69 * 0. If the targeting AdminId is INVALID_ADMIN_ID, targeting fails.
1.70 * 1. If the targeted AdminId is INVALID_ADMIN_ID, targeting succeeds.
1.71 * 2. If the targeted AdminId is the same as the targeting AdminId,