1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-05 01:03:14 +02:00

Added charset encoding for some command arguments (like /me, /msg, /query, ..)

This commit is contained in:
Sebastien Helleu
2006-05-13 21:04:27 +00:00
parent c1ce18e2f6
commit 01aa8472c0
8 changed files with 500 additions and 458 deletions
+2
View File
@@ -38,6 +38,8 @@ struct t_weechat_command
char *completion_template; /* template for completion */
/* NULL=no completion, ""=default (nick) */
int min_arg, max_arg; /* min & max number of arguments */
int charset_conversion; /* = 1 if cmd args are converted before */
/* they're executed */
int (*cmd_function_args)(t_irc_server *, t_irc_channel *, int, char **);
/* function called when user enters cmd */
int (*cmd_function_1arg)(t_irc_server *, t_irc_channel *, char *);