|
Atrinik Server 2.5
|
#include <global.h>Go to the source code of this file.
Functions | |
| static void | add_ban_entry (char *name, char *ip) |
| static void | remove_ban_entry (objectlink *ol) |
| void | load_bans_file () |
| void | save_bans_file () |
| int | checkbanned (const char *name, char *ip) |
| int | add_ban (char *input) |
| int | remove_ban (char *input) |
| void | list_bans (object *op) |
Variables | |
| static objectlink * | ban_list = NULL |
Banning related functions.
It is possible to use the /ban DM command or interactive server mode ban command to ban specified player or IP from the game.
Syntax for banning: Player:IP
Where Player is the player name and IP is the IP address. It is possible to use * for both IP and player, which means any match.
Definition in file ban.c.
| int add_ban | ( | char * | input | ) |
| static void add_ban_entry | ( | char * | name, |
| char * | ip | ||
| ) | [static] |
| int checkbanned | ( | const char * | name, |
| char * | ip | ||
| ) |
| void list_bans | ( | object * | op | ) |
| int remove_ban | ( | char * | input | ) |
| static void remove_ban_entry | ( | objectlink * | ol | ) | [static] |
objectlink* ban_list = NULL [static] |
1.7.4