19 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
20 |
*/ |
*/ |
21 |
|
|
|
|
|
22 |
/* irc-commands.c: implementation of IRC commands, according to |
/* irc-commands.c: implementation of IRC commands, according to |
23 |
RFC 1459,2810,2811,2812 */ |
RFC 1459,2810,2811,2812 */ |
24 |
|
|
25 |
|
|
26 |
|
#ifdef HAVE_CONFIG_H |
27 |
|
#include "config.h" |
28 |
|
#endif |
29 |
|
|
30 |
#include "../common/weechat.h" |
#include "../common/weechat.h" |
31 |
#include "irc.h" |
#include "irc.h" |
32 |
#include "../common/command.h" |
#include "../common/command.h" |
160 |
{ "privmsg", N_("message received"), |
{ "privmsg", N_("message received"), |
161 |
"", "", |
"", "", |
162 |
0, 0, 1, NULL, NULL, irc_cmd_recv_privmsg }, |
0, 0, 1, NULL, NULL, irc_cmd_recv_privmsg }, |
163 |
{ "quit", N_("close all connections & quit " WEECHAT_NAME), |
{ "quit", N_("close all connections & quit " PACKAGE_NAME), |
164 |
N_("[quit_message]"), |
N_("[quit_message]"), |
165 |
N_("quit_message: quit message (displayed to other users)"), |
N_("quit_message: quit message (displayed to other users)"), |
166 |
0, MAX_ARGS, 0, NULL, irc_cmd_send_quit, irc_cmd_recv_quit }, |
0, MAX_ARGS, 0, NULL, irc_cmd_send_quit, irc_cmd_recv_quit }, |