1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-01 23:36:37 +02:00

irc: display an error with /allchan -current or /allpv -current if the current buffer is not an irc buffer (closes #1325)

This commit is contained in:
Sébastien Helleu
2019-03-19 20:37:06 +01:00
parent 766bea3f9e
commit bb017b2613
16 changed files with 177 additions and 39 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ struct t_irc_channel;
{ \
weechat_printf (NULL, \
_("%s%s: command \"%s\" must be executed on " \
"irc buffer (server or channel)"), \
"irc buffer (server, channel or private)"), \
weechat_prefix ("error"), IRC_PLUGIN_NAME, \
__command); \
return WEECHAT_RC_OK; \