From ec5fec631fba482a755fde4e9c0c587c3fe73b6d Mon Sep 17 00:00:00 2001 From: "Gergely Polonkai (W00d5t0ck)" Date: Thu, 22 Mar 2012 12:19:42 +0100 Subject: [PATCH] Removed the wmud_interpreter_init() function --- src/interpreter.c | 6 ------ src/interpreter.h | 1 - src/main.c | 1 - 3 files changed, 8 deletions(-) diff --git a/src/interpreter.c b/src/interpreter.c index 8de235b..d26bdba 100644 --- a/src/interpreter.c +++ b/src/interpreter.c @@ -158,12 +158,6 @@ wmud_interpret_game_command(wmudClient *client) g_slist_free(matches); } -gboolean -wmud_interpreter_init(void) -{ - return TRUE; -} - WMUD_COMMAND(gcmd_quit) { wmud_client_send(client, "Are you sure you want to get back to that freaky other reality? [y/N] "); diff --git a/src/interpreter.h b/src/interpreter.h index 33b0860..305cdfb 100644 --- a/src/interpreter.h +++ b/src/interpreter.h @@ -11,7 +11,6 @@ typedef struct _wmudCommand { wmudCommandFunc commandFunc; } wmudCommand; -gboolean wmud_interpreter_init(void); void wmud_interpret_game_command(wmudClient *client); #endif /* __WMUD_INTERPRETER_H__ */ diff --git a/src/main.c b/src/main.c index ab441ec..dc459c8 100644 --- a/src/main.c +++ b/src/main.c @@ -87,7 +87,6 @@ main(int argc, char **argv) /* TODO: Create signal handlers! */ - game_listener = g_socket_listener_new(); wmud_interpreter_init(); /* TODO: Change 4000 to the port number coming from configuration */