plugins/include/admin.inc
changeset 646 fad360955fdc
parent 619 6934bf39171e
child 812 c8acd5c38374
     1.1 --- a/plugins/include/admin.inc	Sat Mar 17 23:03:56 2007 +0000
     1.2 +++ b/plugins/include/admin.inc	Mon Mar 19 01:29:29 2007 +0000
     1.3 @@ -490,6 +490,15 @@
     1.4  native CanAdminTarget(AdminId:admin, AdminId:target);
     1.5  
     1.6  /**
     1.7 + * Creates an admin auth method.  This does not need to be called more than once
     1.8 + * per method, ever.
     1.9 + *
    1.10 + * @param method		Name of the authentication method.
    1.11 + * @return				True on success, false on failure.
    1.12 + */
    1.13 +native bool:CreateAuthMethod(const String:method[]);
    1.14 +
    1.15 +/**
    1.16   * Converts a flag to its single bit.
    1.17   * 
    1.18   * @param flag			Flag to convert.