Display common help numerics as SERVTEXT.

This makes it a lot easier for users to actually read.
This commit is contained in:
Sadie Powell 2022-04-01 17:24:59 +01:00 committed by Patrick
parent d99a98ff4c
commit 133f628064

View File

@ -920,6 +920,14 @@ process_numeric (session * sess, int n,
notify_set_online (serv, word[4], tags_data); notify_set_online (serv, word[4], tags_data);
break; break;
case 524: // ERR_HELPNOTFOUND
case 704: // RPL_HELPSTART
case 705: // RPL_HELPTXT
case 706: // RPL_ENDOFHELP
EMIT_SIGNAL_TIMESTAMP (XP_TE_SERVTEXT, sess, STRIP_COLON(word, word_eol, 5), NULL, NULL, NULL,
0, tags_data->timestamp);
break;
case 728: /* +q-list entry */ case 728: /* +q-list entry */
/* NOTE: FREENODE returns these results inconsistent with e.g. +b */ /* NOTE: FREENODE returns these results inconsistent with e.g. +b */
/* Who else has imlemented MODE_QUIET, I wonder? */ /* Who else has imlemented MODE_QUIET, I wonder? */