summaryrefslogtreecommitdiff
path: root/src/game/g_admin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_admin.h')
-rw-r--r--src/game/g_admin.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/game/g_admin.h b/src/game/g_admin.h
index 783207d9..bc4158f5 100644
--- a/src/game/g_admin.h
+++ b/src/game/g_admin.h
@@ -31,8 +31,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#define ADMBP_begin() G_admin_buffer_begin()
#define ADMBP_end() G_admin_buffer_end(ent)
-#define MAX_ADMIN_NAMELOG_NAMES 5
-#define MAX_ADMIN_NAMELOG_ADDRS 5
#define MAX_ADMIN_FLAG_LEN 20
#define MAX_ADMIN_FLAGS 1024
#define MAX_ADMIN_CMD_LEN 20
@@ -124,17 +122,6 @@ typedef struct g_admin_command
}
g_admin_command_t;
-typedef struct g_admin_namelog
-{
- struct g_admin_namelog *next;
- char name[ MAX_ADMIN_NAMELOG_NAMES ][ MAX_NAME_LENGTH ];
- char ip[ MAX_ADMIN_NAMELOG_ADDRS ][ 40 ];
- char guid[ 33 ];
- int slot;
- qboolean banned;
-}
-g_admin_namelog_t;
-
void G_admin_register_cmds( void );
void G_admin_unregister_cmds( void );
void G_admin_cmdlist( gentity_t *ent );
@@ -144,7 +131,6 @@ qboolean G_admin_cmd_check( gentity_t *ent );
qboolean G_admin_readconfig( gentity_t *ent );
qboolean G_admin_permission( gentity_t *ent, const char *flag );
qboolean G_admin_name_check( gentity_t *ent, char *name, char *err, int len );
-void G_admin_namelog_update( gclient_t *ent, qboolean disconnect );
g_admin_admin_t *G_admin_admin( const char *guid );
void G_admin_authlog( gentity_t *ent );
@@ -181,6 +167,5 @@ void G_admin_buffer_end( gentity_t *ent );
void G_admin_duration( int secs, char *duration, int dursize );
void G_admin_cleanup( void );
-void G_admin_namelog_cleanup( void );
#endif /* ifndef _G_ADMIN_H */