mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-29 01:56:21 +00:00
Validation on msg command
This commit is contained in:
@@ -229,6 +229,15 @@ void cons_bad_connect(void)
|
||||
" [%s] Usage: /connect user@host\n", tstmp);
|
||||
}
|
||||
|
||||
void cons_bad_message(void)
|
||||
{
|
||||
char tstmp[80];
|
||||
get_time(tstmp);
|
||||
|
||||
wprintw(_wins[0].win,
|
||||
" [%s] Usage: /msg user@host message\n", tstmp);
|
||||
}
|
||||
|
||||
static void _create_windows(void)
|
||||
{
|
||||
int rows, cols;
|
||||
|
||||
Reference in New Issue
Block a user