mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-08-02 21:06:21 +00:00
Start command validation
This commit is contained in:
@@ -220,6 +220,15 @@ void cons_bad_command(char *cmd)
|
||||
wprintw(_wins[0].win, " [%s] Unknown command: %s\n", tstmp, cmd);
|
||||
}
|
||||
|
||||
void cons_bad_connect(void)
|
||||
{
|
||||
char tstmp[80];
|
||||
get_time(tstmp);
|
||||
|
||||
wprintw(_wins[0].win,
|
||||
" [%s] Usage: /connect user@host\n", tstmp);
|
||||
}
|
||||
|
||||
static void _create_windows(void)
|
||||
{
|
||||
int rows, cols;
|
||||
|
||||
Reference in New Issue
Block a user