1.1 --- a/plugins/include/banning.inc Fri Sep 21 14:53:13 2007 +0000
1.2 +++ b/plugins/include/banning.inc Fri Sep 21 14:56:18 2007 +0000
1.3 @@ -51,15 +51,16 @@
1.4 * @param kick_message Kick message passed via BanClient().
1.5 * @param command Command string to identify the ban source.
1.6 * @param source Source value passed via BanClient().
1.7 - * @noreturn
1.8 + * @return Plugin_Handled to block the actual server banning.
1.9 + * Kicking will still occur.
1.10 */
1.11 -forward OnBanClient(client,
1.12 - time,
1.13 - flags,
1.14 - const String:reason[],
1.15 - const String:kick_message[],
1.16 - const String:command[],
1.17 - any:source);
1.18 +forward Action:OnBanClient(client,
1.19 + time,
1.20 + flags,
1.21 + const String:reason[],
1.22 + const String:kick_message[],
1.23 + const String:command[],
1.24 + any:source);
1.25
1.26 /**
1.27 * Called for calls to BanIdentity() with a non-empty command.
1.28 @@ -70,14 +71,14 @@
1.29 * @param reason Reason passed via BanIdentity().
1.30 * @param command Command string to identify the ban source.
1.31 * @param source Source value passed via BanIdentity().
1.32 - * @noreturn
1.33 + * @return Plugin_Handled to block the actual server banning.
1.34 */
1.35 -forward OnBanIdentity(const String:identity[],
1.36 - time,
1.37 - flags,
1.38 - const String:reason[],
1.39 - const String:command[],
1.40 - any:source);
1.41 +forward Action:OnBanIdentity(const String:identity[],
1.42 + time,
1.43 + flags,
1.44 + const String:reason[],
1.45 + const String:command[],
1.46 + any:source);
1.47
1.48 /**
1.49 * Called for calls to RemoveBan() with a non-empty command.
1.50 @@ -86,12 +87,12 @@
1.51 * @param flags Ban flags (only IP or AUTHID are valid here).
1.52 * @param command Command string to identify the ban source.
1.53 * @param source Source value passed via BanIdentity().
1.54 - * @noreturn
1.55 + * @return Plugin_Handled to block the actual server banning.
1.56 */
1.57 -forward OnRemoveBan(const String:identity[],
1.58 - flags,
1.59 - const String:command[],
1.60 - any:source);
1.61 +forward Action:OnRemoveBan(const String:identity[],
1.62 + flags,
1.63 + const String:command[],
1.64 + any:source);
1.65
1.66 /**
1.67 * Bans a client.