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 */