diff options
| author | B. Watson <urchlay@slackware.uk> | 2026-03-30 03:50:23 -0400 |
|---|---|---|
| committer | B. Watson <urchlay@slackware.uk> | 2026-03-30 03:50:23 -0400 |
| commit | aae59ff1213032ebbc5dc30073f48573ead23696 (patch) | |
| tree | ef74c770d83efcd6029e46b8108c39341dc1aca9 /src | |
| parent | 7ea5c2713b539b98c3a9f4cf1eae7c974a8d71a6 (diff) | |
| download | fujinet-chat-aae59ff1213032ebbc5dc30073f48573ead23696.tar.gz | |
Shorten some prompts, now 4942 bytes free.
Diffstat (limited to 'src')
| -rw-r--r-- | src/irc.c | 19 |
1 files changed, 11 insertions, 8 deletions
@@ -146,6 +146,10 @@ static void do_server_pong(void) { scr_eol_active(); } +static void print_ctcp(void) { + scr_print_active("*** CTCP "); +} + /* FIXME: this isn't very fast */ static void do_ctcp(int is_notice) { static char *p, *ctcp_type, *resp; @@ -167,9 +171,9 @@ static void do_ctcp(int is_notice) { if(p && streq_i(ctcp_type, "PING")) { print_ping_time(p); } else { - scr_print_active("*** CTCP "); + print_ctcp(); scr_print_active(ctcp_type); - scr_print_active(" response from "); + scr_print_active(" resp from "); scr_print_active(msg_src); if(p) { scr_print_active(": "); @@ -188,9 +192,9 @@ static void do_ctcp(int is_notice) { return; } - scr_print_active("*** CTCP "); + print_ctcp(); scr_print_active(ctcp_type); - scr_print_active(" request from "); + scr_print_active(" req from "); scr_print_active(msg_src); scr_eol_active(); @@ -309,17 +313,16 @@ static void do_part(void) { static void do_topic(void) { scr_print_active(msg_src); - scr_print_active(" has set the topic of "); + scr_print_active(" sets the "); scr_print_active(msg_dest); - scr_print_active(" to: "); + scr_print_active(" topic to: "); scr_print_active(msg_text); scr_eol_active(); - /* TODO: set topic in the screen! */ } static void do_kick(void) { scr_print_active(msg_src); - scr_print_active(" has kicked "); + scr_print_active(" kicks "); scr_print_active(msg_args[1]); scr_print_active(" from "); scr_print_active(msg_dest); |
