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:
@@ -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; \
|
||||
|
||||
Reference in New Issue
Block a user