summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-10-31 08:21:49 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-10-31 08:21:49 +0100
commit5fb5cda58e3a86466343309d12095222d862b6c4 (patch)
treec33309b4ff9b06aefdc801a4fd5c160325b0a1af /src
parent1bfa9d48c5abcb001a06e1833b283861373051ae (diff)
downloadweechat-5fb5cda58e3a86466343309d12095222d862b6c4.zip
Rename IRC tags irc_cmd_xxx to irx_xxx
Diffstat (limited to 'src')
-rw-r--r--src/plugins/irc/irc-config.c2
-rw-r--r--src/plugins/irc/irc-protocol.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/irc/irc-config.c b/src/plugins/irc/irc-config.c
index 823e0ef77..e21874931 100644
--- a/src/plugins/irc/irc-config.c
+++ b/src/plugins/irc/irc-config.c
@@ -987,7 +987,7 @@ irc_config_init ()
N_("comma separated list of tags for messages that may produce "
"highlight (usually any message from another user, not server "
"messages,..)"),
- NULL, 0, 0, "irc_cmd_privmsg,irc_cmd_notice", NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+ NULL, 0, 0, "irc_privmsg,irc_notice", NULL, NULL, NULL, NULL, NULL, NULL, NULL);
irc_config_look_show_away_once = weechat_config_new_option (
irc_config_file, ptr_section,
"show_away_once", "boolean",
diff --git a/src/plugins/irc/irc-protocol.c b/src/plugins/irc/irc-protocol.c
index d83c1dfa0..a02db89a4 100644
--- a/src/plugins/irc/irc-protocol.c
+++ b/src/plugins/irc/irc-protocol.c
@@ -151,14 +151,14 @@ irc_protocol_tags (const char *command, const char *tags)
if (command && command[0] && tags && tags[0])
{
snprintf (string, sizeof (string),
- "irc_cmd_%s,%s%s", command, tags, str_log_level);
+ "irc_%s,%s%s", command, tags, str_log_level);
return string;
}
if (command && command[0])
{
snprintf (string, sizeof (string),
- "irc_cmd_%s%s", command, str_log_level);
+ "irc_%s%s", command, str_log_level);
return string;
}