summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-info.c
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2012-11-23 21:31:22 +0100
committerSebastien Helleu <flashcode@flashtux.org>2012-11-23 21:31:22 +0100
commit53b8cdfef328017b08bc575854d5f6a5ad6ef1d3 (patch)
tree674e9f63a467b127e0ee6b284925a653afc0f791 /src/plugins/irc/irc-info.c
parent777f977ea516bbf367c01deb7db4120ec70d5839 (diff)
downloadweechat-53b8cdfef328017b08bc575854d5f6a5ad6ef1d3.zip
irc: add support of tags in messages, add support of "server-time" capability (task #12255)
For a server called "znc" in WeeChat, following command will enable the "server-time" capability: /set irc.server.znc.capabilities "znc.in/server-time"
Diffstat (limited to 'src/plugins/irc/irc-info.c')
-rw-r--r--src/plugins/irc/irc-info.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/irc/irc-info.c b/src/plugins/irc/irc-info.c
index 1e86d229f..d6ac145cb 100644
--- a/src/plugins/irc/irc-info.c
+++ b/src/plugins/irc/irc-info.c
@@ -622,9 +622,11 @@ irc_info_init ()
N_("\"message\": IRC message, "
"\"server\": server name (optional)"),
/* TRANSLATORS: please do not translate key names (enclosed by quotes) */
- N_("\"nick\": nick, \"host\": host, "
- "\"command\": command, \"channel\": channel, "
- "\"arguments\": arguments (includes channel)"),
+ N_("\"tags\": tags, \"message_without_tags\": "
+ "message without the tags, \"nick\": nick, "
+ "\"host\": host, \"command\": command, "
+ "\"channel\": channel, \"arguments\": "
+ "arguments (includes channel)"),
&irc_info_get_info_hashtable_cb, NULL);
weechat_hook_info_hashtable ("irc_message_split",
N_("split an IRC message (to fit in 512 bytes)"),