Removed the wmud_interpreter_init() function
This commit is contained in:
parent
d888ed9104
commit
ec5fec631f
@ -158,12 +158,6 @@ wmud_interpret_game_command(wmudClient *client)
|
|||||||
g_slist_free(matches);
|
g_slist_free(matches);
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
|
||||||
wmud_interpreter_init(void)
|
|
||||||
{
|
|
||||||
return TRUE;
|
|
||||||
}
|
|
||||||
|
|
||||||
WMUD_COMMAND(gcmd_quit)
|
WMUD_COMMAND(gcmd_quit)
|
||||||
{
|
{
|
||||||
wmud_client_send(client, "Are you sure you want to get back to that freaky other reality? [y/N] ");
|
wmud_client_send(client, "Are you sure you want to get back to that freaky other reality? [y/N] ");
|
||||||
|
@ -11,7 +11,6 @@ typedef struct _wmudCommand {
|
|||||||
wmudCommandFunc commandFunc;
|
wmudCommandFunc commandFunc;
|
||||||
} wmudCommand;
|
} wmudCommand;
|
||||||
|
|
||||||
gboolean wmud_interpreter_init(void);
|
|
||||||
void wmud_interpret_game_command(wmudClient *client);
|
void wmud_interpret_game_command(wmudClient *client);
|
||||||
|
|
||||||
#endif /* __WMUD_INTERPRETER_H__ */
|
#endif /* __WMUD_INTERPRETER_H__ */
|
||||||
|
@ -87,7 +87,6 @@ main(int argc, char **argv)
|
|||||||
|
|
||||||
/* TODO: Create signal handlers! */
|
/* TODO: Create signal handlers! */
|
||||||
|
|
||||||
game_listener = g_socket_listener_new();
|
|
||||||
|
|
||||||
wmud_interpreter_init();
|
wmud_interpreter_init();
|
||||||
/* TODO: Change 4000 to the port number coming from configuration */
|
/* TODO: Change 4000 to the port number coming from configuration */
|
||||||
|
Loading…
Reference in New Issue
Block a user