diff options
Diffstat (limited to 'src/ui/core.c')
-rw-r--r-- | src/ui/core.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/core.c b/src/ui/core.c index 3cb05fe8..b3b4eadb 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -545,6 +545,12 @@ _ui_unknown_command(const char * const input) } static void +_ui_already_connected(void) +{ + cons_show("You are either connected already, or a login is in process."); +} + +static void _ui_disconnected(void) { wins_lost_connection(); @@ -1922,4 +1928,5 @@ ui_init_module(void) ui_replace_input = _ui_replace_input; ui_invalid_command_usage = _ui_invalid_command_usage; ui_unknown_command = _ui_unknown_command; + ui_already_connected = _ui_already_connected; } |