summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-info.c')
-rw-r--r--src/plugins/irc/irc-info.c40
1 files changed, 18 insertions, 22 deletions
diff --git a/src/plugins/irc/irc-info.c b/src/plugins/irc/irc-info.c
index ad5c91097..0abc1f788 100644
--- a/src/plugins/irc/irc-info.c
+++ b/src/plugins/irc/irc-info.c
@@ -613,28 +613,24 @@ irc_info_init ()
&irc_info_get_info_cb, NULL);
/* info_hashtable hooks */
- weechat_hook_info_hashtable ("irc_message_parse",
- N_("parse an IRC message"),
- N_("\"message\": IRC message, "
- "\"server\": server name (optional)"),
- /* TRANSLATORS: please do not translate key names (enclosed by quotes) */
- 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)"),
- N_("\"message\": IRC message, "
- "\"server\": server name (optional)"),
- /* TRANSLATORS: please do not translate key names (enclosed by quotes) */
- N_("\"msg1\" ... \"msgN\": messages to send "
- "(without final \"\\r\\n\"), "
- "\"args1\" ... \"argsN\": arguments of "
- "messages, "
- "\"count\": number of messages"),
- &irc_info_get_info_hashtable_cb, NULL);
+ weechat_hook_info_hashtable (
+ "irc_message_parse",
+ N_("parse an IRC message"),
+ N_("\"message\": IRC message, \"server\": server name (optional)"),
+ /* TRANSLATORS: please do not translate key names (enclosed by quotes) */
+ 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)"),
+ N_("\"message\": IRC message, \"server\": server name (optional)"),
+ /* TRANSLATORS: please do not translate key names (enclosed by quotes) */
+ N_("\"msg1\" ... \"msgN\": messages to send (without final \"\\r\\n\"), "
+ "\"args1\" ... \"argsN\": arguments of messages, \"count\": number "
+ "of messages"),
+ &irc_info_get_info_hashtable_cb, NULL);
/* infolist hooks */
weechat_hook_infolist ("irc_server",