mirror of
https://github.com/weechat/weechat.git
synced 2026-06-27 05:16:38 +02:00
Add missing IRC commands 276, 343
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
WeeChat ChangeLog
|
||||
=================
|
||||
FlashCode <flashcode@flashtux.org>
|
||||
v0.3.2-dev, 2010-02-10
|
||||
v0.3.2-dev, 2010-02-11
|
||||
|
||||
|
||||
Version 0.3.2 (under dev!)
|
||||
@@ -31,6 +31,7 @@ Version 0.3.2 (under dev!)
|
||||
in channel modes (bug #23961)
|
||||
* irc: add option irc.look.item_nick_prefix
|
||||
* irc: add command /map
|
||||
* irc: add missing commands 276, 343
|
||||
* irc: fix compilation with old GnuTLS versions (bug #28723)
|
||||
* logger: allow date format in logger options path and mask (task #9430)
|
||||
* xfer: fix crash when purging old xfer chats (bug #28764)
|
||||
|
||||
@@ -2454,15 +2454,18 @@ irc_protocol_cmd_329 (struct t_irc_server *server, const char *command,
|
||||
}
|
||||
|
||||
/*
|
||||
* irc_protocol_cmd_330: '330' command (whois, logged in as)
|
||||
* irc_protocol_cmd_330_343: '330' command (whois, is logged in as),
|
||||
* '343' command (whois, is opered as)
|
||||
*/
|
||||
|
||||
int
|
||||
irc_protocol_cmd_330 (struct t_irc_server *server, const char *command,
|
||||
int argc, char **argv, char **argv_eol)
|
||||
irc_protocol_cmd_330_343 (struct t_irc_server *server, const char *command,
|
||||
int argc, char **argv, char **argv_eol)
|
||||
{
|
||||
/* 330 message looks like:
|
||||
:server 330 mynick nick1 nick2 :is logged in as
|
||||
343 message looks like:
|
||||
:server 343 mynick nick1 nick2 :is opered as
|
||||
*/
|
||||
|
||||
IRC_PROTOCOL_MIN_ARGS(6);
|
||||
@@ -3616,6 +3619,7 @@ irc_protocol_recv_command (struct t_irc_server *server, const char *entire_line,
|
||||
{ "005", /* a server message */ 1, &irc_protocol_cmd_005 },
|
||||
{ "221", /* user mode string */ 1, &irc_protocol_cmd_221 },
|
||||
{ "275", /* whois (secure connection) */ 1, &irc_protocol_cmd_whois_nick_msg },
|
||||
{ "276", /* whois (has client certificate fingerprint) */ 1, &irc_protocol_cmd_whois_nick_msg },
|
||||
{ "301", /* away message */ 1, &irc_protocol_cmd_301 },
|
||||
{ "303", /* ison */ 1, &irc_protocol_cmd_303 },
|
||||
{ "305", /* unaway */ 1, &irc_protocol_cmd_305 },
|
||||
@@ -3639,13 +3643,14 @@ irc_protocol_recv_command (struct t_irc_server *server, const char *entire_line,
|
||||
{ "327", /* whois (host) */ 1, &irc_protocol_cmd_327 },
|
||||
{ "328", /* channel url */ 1, &irc_protocol_cmd_328 },
|
||||
{ "329", /* channel creation date */ 1, &irc_protocol_cmd_329 },
|
||||
{ "330", /* is logged in as */ 1, &irc_protocol_cmd_330 },
|
||||
{ "330", /* is logged in as */ 1, &irc_protocol_cmd_330_343 },
|
||||
{ "331", /* no topic for channel */ 1, &irc_protocol_cmd_331 },
|
||||
{ "332", /* topic of channel */ 0, &irc_protocol_cmd_332 },
|
||||
{ "333", /* infos about topic (nick and date changed) */ 1, &irc_protocol_cmd_333 },
|
||||
{ "335", /* is a bot on */ 1, &irc_protocol_cmd_whois_nick_msg },
|
||||
{ "338", /* whois (host) */ 1, &irc_protocol_cmd_338 },
|
||||
{ "341", /* inviting */ 1, &irc_protocol_cmd_341 },
|
||||
{ "343", /* is opered as */ 1, &irc_protocol_cmd_330_343 },
|
||||
{ "344", /* channel reop */ 1, &irc_protocol_cmd_344 },
|
||||
{ "345", /* end of channel reop list */ 1, &irc_protocol_cmd_345 },
|
||||
{ "348", /* channel exception list */ 1, &irc_protocol_cmd_348 },
|
||||
|
||||
Reference in New Issue
Block a user