summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/irc/irc-protocol.h')
-rw-r--r--src/plugins/irc/irc-protocol.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/irc/irc-protocol.h b/src/plugins/irc/irc-protocol.h
index db1fe18b4..0a36867e5 100644
--- a/src/plugins/irc/irc-protocol.h
+++ b/src/plugins/irc/irc-protocol.h
@@ -41,8 +41,8 @@
_("%s%s: too few arguments received from IRC " \
"server for command \"%s\" (received: %d " \
"arguments, expected: at least %d)"), \
- irc_buffer_get_server_prefix (server, "error"), \
- IRC_PLUGIN_NAME, command, argc, __min_args); \
+ weechat_prefix ("error"), IRC_PLUGIN_NAME, \
+ command, argc, __min_args); \
return WEECHAT_RC_ERROR; \
}
@@ -52,8 +52,8 @@
weechat_printf (server->buffer, \
_("%s%s: \"%s\" command received without " \
"host"), \
- irc_buffer_get_server_prefix (server, "error"), \
- IRC_PLUGIN_NAME, command); \
+ weechat_prefix ("error"), IRC_PLUGIN_NAME, \
+ command); \
return WEECHAT_RC_ERROR; \
}