diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2007-02-12 17:39:34 +0000 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2007-02-12 17:39:34 +0000 |
commit | aba6e1257d4ef85e8641ee0f35428ea53a217b03 (patch) | |
tree | cc1e920d8aead9f1d43d665484d8b442a4fe0993 /src/irc | |
parent | 6d01968259a92cc1a62cb313742b22b5c1178788 (diff) | |
download | weechat-aba6e1257d4ef85e8641ee0f35428ea53a217b03.zip |
Added "call" option to /key command, added new key function "insert" to insert text on command line (task #6468)
Diffstat (limited to 'src/irc')
-rw-r--r-- | src/irc/irc-recv.c | 86 | ||||
-rw-r--r-- | src/irc/irc-send.c | 76 |
2 files changed, 81 insertions, 81 deletions
diff --git a/src/irc/irc-recv.c b/src/irc/irc-recv.c index a3b8153b5..401da46fd 100644 --- a/src/irc/irc-recv.c +++ b/src/irc/irc-recv.c @@ -323,7 +323,7 @@ irc_cmd_recv_error (t_irc_server *server, char *host, char *nick, char *argument t_gui_buffer *ptr_buffer; t_irc_channel *ptr_channel; - /* make gcc happy */ + /* make C compiler happy */ (void) server; (void) host; (void) nick; @@ -1176,7 +1176,7 @@ irc_cmd_recv_ping (t_irc_server *server, char *host, char *nick, char *arguments { char *pos; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; pos = strrchr (arguments, ' '); @@ -1196,7 +1196,7 @@ irc_cmd_recv_pong (t_irc_server *server, char *host, char *nick, char *arguments struct timeval tv; int old_lag; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; (void) arguments; @@ -2130,7 +2130,7 @@ irc_cmd_recv_server_mode_reason (t_irc_server *server, char *host, { char *ptr_msg; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -2170,7 +2170,7 @@ irc_cmd_recv_server_mode_reason (t_irc_server *server, char *host, int irc_cmd_recv_server_msg (t_irc_server *server, char *host, char *nick, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -2204,7 +2204,7 @@ irc_cmd_recv_server_reply (t_irc_server *server, char *host, char *nick, char *a char *pos, *pos2; int first; - /* make gcc happy */ + /* make C compiler happy */ (void) server; (void) host; (void) nick; @@ -2454,7 +2454,7 @@ irc_cmd_recv_221 (t_irc_server *server, char *host, char *nick, char *arguments) { char *pos_mode; - /* make gcc happy */ + /* make C compiler happy */ (void) server; (void) host; (void) nick; @@ -2504,7 +2504,7 @@ irc_cmd_recv_301 (t_irc_server *server, char *host, char *nick, char *arguments) t_irc_channel *ptr_channel; t_gui_buffer *ptr_buffer; - /* make gcc happy */ + /* make C compiler happy */ (void) server; (void) host; (void) nick; @@ -2562,7 +2562,7 @@ irc_cmd_recv_302 (t_irc_server *server, char *host, char *nick, char *arguments) { char *pos_host, *ptr_next; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -2620,7 +2620,7 @@ irc_cmd_recv_303 (t_irc_server *server, char *host, char *nick, char *arguments) { char *ptr_next; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -2668,7 +2668,7 @@ irc_cmd_recv_305 (t_irc_server *server, char *host, char *nick, char *arguments) { t_gui_window *ptr_window; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -2705,7 +2705,7 @@ irc_cmd_recv_306 (t_irc_server *server, char *host, char *nick, char *arguments) { t_gui_window *ptr_window; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -2745,7 +2745,7 @@ irc_cmd_recv_whois_nick_msg (t_irc_server *server, char *host, char *nick, char { char *pos_nick, *pos_msg; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -2789,7 +2789,7 @@ irc_cmd_recv_310 (t_irc_server *server, char *host, char *nick, char *arguments) { char *pos_nick; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -2822,7 +2822,7 @@ irc_cmd_recv_311 (t_irc_server *server, char *host, char *nick, char *arguments) { char *pos_nick, *pos_user, *pos_host, *pos_realname; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -2891,7 +2891,7 @@ irc_cmd_recv_312 (t_irc_server *server, char *host, char *nick, char *arguments) { char *pos_nick, *pos_server, *pos_serverinfo; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -2948,7 +2948,7 @@ irc_cmd_recv_314 (t_irc_server *server, char *host, char *nick, char *arguments) { char *pos_nick, *pos_user, *pos_host, *pos_realname; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -3021,7 +3021,7 @@ irc_cmd_recv_315 (t_irc_server *server, char *host, char *nick, char *arguments) char *pos; t_irc_channel *ptr_channel; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -3076,7 +3076,7 @@ irc_cmd_recv_317 (t_irc_server *server, char *host, char *nick, char *arguments) int idle_time, day, hour, min, sec; time_t datetime; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -3161,7 +3161,7 @@ irc_cmd_recv_319 (t_irc_server *server, char *host, char *nick, char *arguments) { char *pos_nick, *pos_channel, *pos; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -3242,7 +3242,7 @@ irc_cmd_recv_321 (t_irc_server *server, char *host, char *nick, char *arguments) { char *pos; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -3274,7 +3274,7 @@ irc_cmd_recv_322 (t_irc_server *server, char *host, char *nick, char *arguments) { char *pos; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -3316,7 +3316,7 @@ irc_cmd_recv_323 (t_irc_server *server, char *host, char *nick, char *arguments) { char *pos; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -3349,7 +3349,7 @@ irc_cmd_recv_324 (t_irc_server *server, char *host, char *nick, char *arguments) char *pos_channel, *pos_modes, *pos; t_irc_channel *ptr_channel; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -3417,7 +3417,7 @@ irc_cmd_recv_329 (t_irc_server *server, char *host, char *nick, char *arguments) t_irc_channel *ptr_channel; time_t datetime; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -3485,7 +3485,7 @@ irc_cmd_recv_331 (t_irc_server *server, char *host, char *nick, char *arguments) char *pos_channel, *pos; t_irc_channel *ptr_channel; - /* make gcc happy */ + /* make C compiler happy */ (void) server; (void) nick; @@ -3545,7 +3545,7 @@ irc_cmd_recv_332 (t_irc_server *server, char *host, char *nick, char *arguments) t_irc_channel *ptr_channel; t_gui_buffer *ptr_buffer; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -3611,7 +3611,7 @@ irc_cmd_recv_333 (t_irc_server *server, char *host, char *nick, char *arguments) t_gui_buffer *ptr_buffer; time_t datetime; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -3690,7 +3690,7 @@ irc_cmd_recv_338 (t_irc_server *server, char *host, char *nick, char *arguments) { char *pos_nick, *pos_host, *pos_message; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -3746,7 +3746,7 @@ irc_cmd_recv_341 (t_irc_server *server, char *host, char *nick, char *arguments) { char *pos_nick, *pos_channel; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -3810,7 +3810,7 @@ irc_cmd_recv_344 (t_irc_server *server, char *host, char *nick, char *arguments) { char *pos_channel, *pos_host; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -3851,7 +3851,7 @@ irc_cmd_recv_345 (t_irc_server *server, char *host, char *nick, char *arguments) { char *pos; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -3901,7 +3901,7 @@ irc_cmd_recv_348 (t_irc_server *server, char *host, char *nick, char *arguments) t_gui_buffer *buffer; time_t datetime; - /* make gcc happy */ + /* make C compiler happy */ (void) nick; /* look for channel */ @@ -4016,7 +4016,7 @@ irc_cmd_recv_349 (t_irc_server *server, char *host, char *nick, char *arguments) t_irc_channel *ptr_channel; t_gui_buffer *buffer; - /* make gcc happy */ + /* make C compiler happy */ (void) nick; pos_channel = strchr (arguments, ' '); @@ -4077,7 +4077,7 @@ irc_cmd_recv_351 (t_irc_server *server, char *host, char *nick, char *arguments) { char *pos, *pos2; - /* make gcc happy */ + /* make C compiler happy */ (void) server; (void) host; (void) nick; @@ -4122,7 +4122,7 @@ irc_cmd_recv_352 (t_irc_server *server, char *host, char *nick, char *arguments) t_irc_channel *ptr_channel; t_irc_nick *ptr_nick; - /* make gcc happy */ + /* make C compiler happy */ (void) nick; pos_channel = strchr (arguments, ' '); @@ -4247,7 +4247,7 @@ irc_cmd_recv_353 (t_irc_server *server, char *host, char *nick, char *arguments) t_irc_channel *ptr_channel; t_gui_buffer *ptr_buffer; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -4421,7 +4421,7 @@ irc_cmd_recv_366 (t_irc_server *server, char *host, char *nick, char *arguments) t_irc_nick *ptr_nick; int num_nicks, num_op, num_halfop, num_voice, num_normal; - /* make gcc happy */ + /* make C compiler happy */ (void) nick; pos = strchr (arguments, ' '); @@ -4530,7 +4530,7 @@ irc_cmd_recv_367 (t_irc_server *server, char *host, char *nick, char *arguments) t_gui_buffer *buffer; time_t datetime; - /* make gcc happy */ + /* make C compiler happy */ (void) nick; /* look for channel */ @@ -4652,7 +4652,7 @@ irc_cmd_recv_368 (t_irc_server *server, char *host, char *nick, char *arguments) t_irc_channel *ptr_channel; t_gui_buffer *buffer; - /* make gcc happy */ + /* make C compiler happy */ (void) nick; pos_channel = strchr (arguments, ' '); @@ -4713,7 +4713,7 @@ irc_cmd_recv_378 (t_irc_server *server, char *host, char *nick, char *arguments) { char *pos, *pos2; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; @@ -4830,7 +4830,7 @@ irc_cmd_recv_438 (t_irc_server *server, char *host, char *nick, char *arguments) { char *pos, *pos2; - /* make gcc happy */ + /* make C compiler happy */ (void) server; (void) host; (void) nick; @@ -4869,7 +4869,7 @@ irc_cmd_recv_671 (t_irc_server *server, char *host, char *nick, char *arguments) { char *pos_nick, *pos_message; - /* make gcc happy */ + /* make C compiler happy */ (void) host; (void) nick; diff --git a/src/irc/irc-send.c b/src/irc/irc-send.c index 41dfcb024..60fbf09c9 100644 --- a/src/irc/irc-send.c +++ b/src/irc/irc-send.c @@ -83,7 +83,7 @@ int irc_cmd_send_admin (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; if (arguments) @@ -148,7 +148,7 @@ irc_cmd_send_ame (t_irc_server *server, t_irc_channel *channel, t_irc_server *ptr_server; t_irc_channel *ptr_channel; - /* make gcc happy */ + /* make C compiler happy */ (void) server; (void) channel; @@ -183,7 +183,7 @@ irc_cmd_send_amsg (t_irc_server *server, t_irc_channel *channel, t_irc_nick *ptr_nick; char *string; - /* make gcc happy */ + /* make C compiler happy */ (void) server; (void) channel; @@ -328,7 +328,7 @@ irc_cmd_send_away (t_irc_server *server, t_irc_channel *channel, irc_find_context (server, channel, NULL, &buffer); - /* make gcc happy */ + /* make C compiler happy */ (void) channel; gui_add_hotlist = 0; @@ -459,7 +459,7 @@ irc_cmd_send_ctcp (t_irc_server *server, t_irc_channel *channel, char *pos_type, *pos_args, *pos; struct timeval tv; - /* make gcc happy */ + /* make C compiler happy */ (void) channel; pos_type = strchr (arguments, ' '); @@ -733,7 +733,7 @@ int irc_cmd_send_die (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; (void) arguments; @@ -782,7 +782,7 @@ int irc_cmd_send_info (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; if (arguments) @@ -830,7 +830,7 @@ int irc_cmd_send_ison (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; server_sendf (server, "ISON %s", arguments); @@ -845,7 +845,7 @@ int irc_cmd_send_join (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; if (string_is_channel (arguments)) @@ -988,7 +988,7 @@ irc_cmd_send_kill (t_irc_server *server, t_irc_channel *channel, { char *pos; - /* make gcc happy */ + /* make C compiler happy */ (void) channel; pos = strchr (arguments, ' '); @@ -1014,7 +1014,7 @@ int irc_cmd_send_links (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; if (arguments) @@ -1034,7 +1034,7 @@ irc_cmd_send_list (t_irc_server *server, t_irc_channel *channel, { char buffer[512]; int ret; - /* make gcc happy */ + /* make C compiler happy */ (void) channel; if (server->cmd_list_regexp) @@ -1080,7 +1080,7 @@ int irc_cmd_send_lusers (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; if (arguments) @@ -1122,7 +1122,7 @@ int irc_cmd_send_mode (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; server_sendf (server, "MODE %s", arguments); @@ -1168,7 +1168,7 @@ int irc_cmd_send_motd (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; if (arguments) @@ -1415,7 +1415,7 @@ irc_cmd_send_nick (t_irc_server *server, t_irc_channel *channel, { t_irc_server *ptr_server; - /* make gcc happy */ + /* make C compiler happy */ (void) channel; if (!server) @@ -1453,7 +1453,7 @@ irc_cmd_send_notice (t_irc_server *server, t_irc_channel *channel, { char *pos, *string; - /* make gcc happy */ + /* make C compiler happy */ (void) channel; pos = strchr (arguments, ' '); @@ -1528,7 +1528,7 @@ int irc_cmd_send_oper (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; server_sendf (server, "OPER %s", arguments); @@ -1626,7 +1626,7 @@ int irc_cmd_send_ping (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; server_sendf (server, "PING %s", arguments); @@ -1641,7 +1641,7 @@ int irc_cmd_send_pong (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; server_sendf (server, "PONG %s", arguments); @@ -1760,7 +1760,7 @@ irc_cmd_send_quit (t_irc_server *server, t_irc_channel *channel, { t_irc_server *ptr_server; - /* make gcc happy */ + /* make C compiler happy */ (void) server; (void) channel; @@ -1781,7 +1781,7 @@ int irc_cmd_send_quote (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; server_sendf (server, "%s", arguments); @@ -1796,7 +1796,7 @@ int irc_cmd_send_rehash (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; (void) arguments; @@ -1812,7 +1812,7 @@ int irc_cmd_send_restart (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; (void) arguments; @@ -1828,7 +1828,7 @@ int irc_cmd_send_service (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; server_sendf (server, "SERVICE %s", arguments); @@ -1843,7 +1843,7 @@ int irc_cmd_send_servlist (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; if (arguments) @@ -1863,7 +1863,7 @@ irc_cmd_send_squery (t_irc_server *server, t_irc_channel *channel, { char *pos; - /* make gcc happy */ + /* make C compiler happy */ (void) channel; pos = strchr (arguments, ' '); @@ -1891,7 +1891,7 @@ int irc_cmd_send_squit (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; server_sendf (server, "SQUIT %s", arguments); @@ -1906,7 +1906,7 @@ int irc_cmd_send_stats (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; if (arguments) @@ -1925,7 +1925,7 @@ int irc_cmd_send_summon (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; server_sendf (server, "SUMMON %s", arguments); @@ -1940,7 +1940,7 @@ int irc_cmd_send_time (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; if (arguments) @@ -2020,7 +2020,7 @@ int irc_cmd_send_trace (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; if (arguments) @@ -2115,7 +2115,7 @@ int irc_cmd_send_userhost (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; server_sendf (server, "USERHOST %s", arguments); @@ -2130,7 +2130,7 @@ int irc_cmd_send_users (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; if (arguments) @@ -2215,7 +2215,7 @@ int irc_cmd_send_wallops (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; server_sendf (server, "WALLOPS :%s", arguments); @@ -2230,7 +2230,7 @@ int irc_cmd_send_who (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; if (arguments) @@ -2248,7 +2248,7 @@ int irc_cmd_send_whois (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; server_sendf (server, "WHOIS %s", arguments); @@ -2263,7 +2263,7 @@ int irc_cmd_send_whowas (t_irc_server *server, t_irc_channel *channel, char *arguments) { - /* make gcc happy */ + /* make C compiler happy */ (void) channel; server_sendf (server, "WHOWAS %s", arguments); |