whoops, i forgot to update the banning API... this is the correct revision

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401456
This commit is contained in:
David Anderson 2007-09-21 14:56:18 +00:00
parent 34111ff1e4
commit b38f0cc02e

View File

@ -51,9 +51,10 @@
* @param kick_message Kick message passed via BanClient(). * @param kick_message Kick message passed via BanClient().
* @param command Command string to identify the ban source. * @param command Command string to identify the ban source.
* @param source Source value passed via BanClient(). * @param source Source value passed via BanClient().
* @noreturn * @return Plugin_Handled to block the actual server banning.
* Kicking will still occur.
*/ */
forward OnBanClient(client, forward Action:OnBanClient(client,
time, time,
flags, flags,
const String:reason[], const String:reason[],
@ -70,9 +71,9 @@ forward OnBanClient(client,
* @param reason Reason passed via BanIdentity(). * @param reason Reason passed via BanIdentity().
* @param command Command string to identify the ban source. * @param command Command string to identify the ban source.
* @param source Source value passed via BanIdentity(). * @param source Source value passed via BanIdentity().
* @noreturn * @return Plugin_Handled to block the actual server banning.
*/ */
forward OnBanIdentity(const String:identity[], forward Action:OnBanIdentity(const String:identity[],
time, time,
flags, flags,
const String:reason[], const String:reason[],
@ -86,9 +87,9 @@ forward OnBanIdentity(const String:identity[],
* @param flags Ban flags (only IP or AUTHID are valid here). * @param flags Ban flags (only IP or AUTHID are valid here).
* @param command Command string to identify the ban source. * @param command Command string to identify the ban source.
* @param source Source value passed via BanIdentity(). * @param source Source value passed via BanIdentity().
* @noreturn * @return Plugin_Handled to block the actual server banning.
*/ */
forward OnRemoveBan(const String:identity[], forward Action:OnRemoveBan(const String:identity[],
flags, flags,
const String:command[], const String:command[],
any:source); any:source);