1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-27 13:26:38 +02:00

Added server/channel arg to /buffer command for jumping to buffer

This commit is contained in:
Sebastien Helleu
2005-11-29 08:23:03 +00:00
parent 816fac5084
commit c005d8c4d3
32 changed files with 2886 additions and 2794 deletions
+2 -1
View File
@@ -37,6 +37,7 @@
#include "../common/command.h"
#include "../common/weeconfig.h"
#include "../irc/irc.h"
#include "../gui/gui.h"
/*
@@ -165,7 +166,7 @@ weechat_plugin_printf (t_weechat_plugin *plugin,
if (!plugin || !message)
return;
ptr_buffer = plugin_find_buffer (server, channel);
ptr_buffer = gui_buffer_search (server, channel);
va_start (argptr, message);
vsnprintf (buf, sizeof (buf) - 1, message, argptr);
va_end (argptr);