summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-message.h
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2011-12-25 23:00:18 +0100
committerSebastien Helleu <flashcode@flashtux.org>2011-12-25 23:00:18 +0100
commita35364524af23eff7a8d532cd2596857a10587f9 (patch)
tree32a3f1ef9c64d915cc52581a91bfd2a15f0fe0d0 /src/plugins/irc/irc-message.h
parent68948f9747432bcfeaec82dbc30992388d3194d5 (diff)
downloadweechat-a35364524af23eff7a8d532cd2596857a10587f9.zip
irc: add optional server in info "irc_is_channel" (before channel name) (bug #35124), add optional server in info_hashtable "irc_message_parse"
Diffstat (limited to 'src/plugins/irc/irc-message.h')
-rw-r--r--src/plugins/irc/irc-message.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/irc/irc-message.h b/src/plugins/irc/irc-message.h
index 25eb4c4d8..3dc528815 100644
--- a/src/plugins/irc/irc-message.h
+++ b/src/plugins/irc/irc-message.h
@@ -23,10 +23,11 @@
struct t_irc_server;
struct t_irc_channel;
-extern void irc_message_parse (const char *message, char **nick, char **host,
- char **command, char **channel,
- char **arguments);
-extern struct t_hashtable *irc_message_parse_to_hashtable (const char *message);
+extern void irc_message_parse (struct t_irc_server *server, const char *message,
+ char **nick, char **host, char **command,
+ char **channel, char **arguments);
+extern struct t_hashtable *irc_message_parse_to_hashtable (struct t_irc_server *server,
+ const char *message);
extern const char *irc_message_get_nick_from_host (const char *host);
extern const char *irc_message_get_address_from_host (const char *host);
extern char *irc_message_replace_vars (struct t_irc_server *server,