mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 08:06:21 +00:00
Only send messages in chat mode
This commit is contained in:
10
app.c
10
app.c
@@ -91,9 +91,13 @@ static void main_event_loop(void)
|
||||
}
|
||||
inp_clear();
|
||||
} else {
|
||||
jabber_send(command);
|
||||
show_outgoing_msg("me", command);
|
||||
if (showing == CHAT) {
|
||||
if (showing == CONS) {
|
||||
cons_bad_command(command);
|
||||
cons_show();
|
||||
}
|
||||
else {
|
||||
jabber_send(command);
|
||||
show_outgoing_msg("me", command);
|
||||
chat_show();
|
||||
}
|
||||
inp_clear();
|
||||
|
||||
Reference in New Issue
Block a user