diff options
author | Sadie Powell <sadie@witchery.services> | 2022-04-01 17:24:59 +0100 |
---|---|---|
committer | Patrick <tingping@tingping.se> | 2022-04-02 12:17:54 -0500 |
commit | 133f62806441a5db1156653aa1f077d2e8deeb34 (patch) | |
tree | 9d5edd47a9a806abf11c1402b943d809aec8e9e0 /src/common | |
parent | d99a98ff4cc9d9184ceb5b625abe0e737e009fbe (diff) |
Display common help numerics as SERVTEXT.
This makes it a lot easier for users to actually read.
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/proto-irc.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/common/proto-irc.c b/src/common/proto-irc.c index a8d997b6..32cc47f2 100644 --- a/src/common/proto-irc.c +++ b/src/common/proto-irc.c @@ -920,6 +920,14 @@ process_numeric (session * sess, int n, notify_set_online (serv, word[4], tags_data); 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 */ /* NOTE: FREENODE returns these results inconsistent with e.g. +b */ /* Who else has imlemented MODE_QUIET, I wonder? */ |