mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 04:16:38 +02:00
irc: add ERR_HELPNOTFOUND (issue #1772)
This commit is contained in:
committed by
Sébastien Helleu
parent
a96d2c28fb
commit
fa05f75b74
@@ -6580,7 +6580,7 @@ IRC_PROTOCOL_CALLBACK(470)
|
||||
}
|
||||
|
||||
/*
|
||||
* Callback for the IRC commands "704", "705", and "706": help reply.
|
||||
* Callback for the IRC commands "524", "704", "705", and "706": help reply.
|
||||
*
|
||||
* Commands look like:
|
||||
* 704 mynick topic :First help line of <topic>
|
||||
@@ -6588,6 +6588,9 @@ IRC_PROTOCOL_CALLBACK(470)
|
||||
* 705 mynick topic :and this
|
||||
* 705 mynick topic :and that.
|
||||
* 706 mynick topic :Last help line of <topic>
|
||||
*
|
||||
* Or:
|
||||
* 524 mynick topic :help not found
|
||||
*/
|
||||
IRC_PROTOCOL_CALLBACK(help)
|
||||
{
|
||||
@@ -7279,6 +7282,7 @@ irc_protocol_recv_command (struct t_irc_server *server,
|
||||
IRCB(491, 1, 0, generic_error), /* no O-lines for your host */
|
||||
IRCB(501, 1, 0, generic_error), /* unknown mode flag */
|
||||
IRCB(502, 1, 0, generic_error), /* can't chg mode for other users */
|
||||
IRCB(524, 1, 0, help), /* HELP/HELPOP reply (help not found) */
|
||||
IRCB(671, 1, 0, whois_nick_msg), /* whois (secure connection) */
|
||||
IRCB(704, 1, 0, help), /* start of HELP/HELPOP reply */
|
||||
IRCB(705, 1, 0, help), /* main HELP/HELPOP reply */
|
||||
|
||||
Reference in New Issue
Block a user