aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2026-03-29 08:21:28 -0400
committerB. Watson <urchlay@slackware.uk>2026-03-29 08:21:28 -0400
commit6f1ee17b375c74e8211e698fcdb527e210f13c71 (patch)
tree4ea15cd801aa24e41c99dfd00e98dfb5329de52a
parenta6649022d758c88f2ae1834730b11a8404b364b7 (diff)
downloadfujinet-chat-6f1ee17b375c74e8211e698fcdb527e210f13c71.tar.gz
Removing PING/PONG message, nobody will miss it.
-rw-r--r--config/config.c4
-rw-r--r--src/irc.c3
-rw-r--r--src/main.c3
3 files changed, 6 insertions, 4 deletions
diff --git a/config/config.c b/config/config.c
index 8d09e8e..f29159d 100644
--- a/config/config.c
+++ b/config/config.c
@@ -599,10 +599,10 @@ void main(void) {
prompt("Name ", conf->real_name, 25);
prompt_colors();
prompt_alert_type();
- conf->show_ping = yn("Show PING/PONG", conf->show_ping);
+ // conf->show_ping = yn("Show PING/PONG", conf->show_ping);
conf->atract_away = yn("Set AWAY on ATRACT", conf->atract_away);
conf->hide_motd = yn("Hide MOTD", conf->hide_motd);
- conf->disable_keyclick = yn("Disable keyclick (XL/XE)", conf->disable_keyclick);
+ conf->disable_keyclick = yn("Disable keyclick", conf->disable_keyclick);
prompt_channels();
prompt_extra_channels();
diff --git a/src/irc.c b/src/irc.c
index f31d89c..dd1f9ae 100644
--- a/src/irc.c
+++ b/src/irc.c
@@ -69,10 +69,13 @@ static void print_reason(void) {
}
static void do_pong(void) {
+ /*
+ // nobody really needs this except for debugging the client
if(conf->show_ping)
scr_print_server("PING/PONG\n");
else
scr_activate(scr_current);
+ */
txbuf_set_str2("PONG ", msg_args[0]);
txbuf_send();
}
diff --git a/src/main.c b/src/main.c
index 4a938b9..7593fa6 100644
--- a/src/main.c
+++ b/src/main.c
@@ -166,10 +166,9 @@ void main(void) {
OS.shflok = 0; // turn off shift-lock.
OS.soundr = 0; // Turn off SIO beeping sound
OS.color2 = conf->colors[0]; /* text BG, user-selected */
- // OS.color1 = (conf->colors[1] & 0x0f) | 0xc0; /* green (at user's brightness) */
OS.color1 = conf->colors[1];
OS.color0 = 0x06; /* grey for inactive */
- OS.color3 = 0x46; /* red for highlight (not used yet) */
+ OS.color3 = 0x46; /* red for highlight */
OS.noclik = conf->disable_keyclick;
hz = (GTIA_READ.pal & 0x0e) ? 60 : 50;