summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-message.h
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2019-09-27 20:52:00 +0200
committerSébastien Helleu <flashcode@flashtux.org>2019-09-27 20:52:00 +0200
commitae38b114072858ca4cd21d8492c54a2ae592d196 (patch)
tree6cdea623841c7cc3b75f5670b0b71e523c4cfada /src/plugins/irc/irc-message.h
parent3f33b327b139a90c100aff5c36d4684faa6e48c6 (diff)
downloadweechat-ae38b114072858ca4cd21d8492c54a2ae592d196.zip
irc: add "user" in output of irc_message_parse (closes #136)
Diffstat (limited to 'src/plugins/irc/irc-message.h')
-rw-r--r--src/plugins/irc/irc-message.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-message.h b/src/plugins/irc/irc-message.h
index f1902c2c3..1cac89d0d 100644
--- a/src/plugins/irc/irc-message.h
+++ b/src/plugins/irc/irc-message.h
@@ -25,8 +25,9 @@ struct t_irc_channel;
extern void irc_message_parse (struct t_irc_server *server, const char *message,
char **tags, char **message_without_tags,
- char **nick, char **host, char **command,
- char **channel, char **arguments, char **text,
+ char **nick, char **user, char **host,
+ char **command, char **channel,
+ char **arguments, char **text,
int *pos_command, int *pos_arguments,
int *pos_channel, int *pos_text);
extern struct t_hashtable *irc_message_parse_to_hashtable (struct t_irc_server *server,