1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 00:33:13 +02:00

Fixed server detection when using "command" interface function from scripts

This commit is contained in:
Sebastien Helleu
2005-11-05 15:14:17 +00:00
parent d94a7d05ea
commit 5830b0ab40
6 changed files with 92 additions and 10 deletions
+2
View File
@@ -22,6 +22,7 @@
#define __WEECHAT_PLUGINS_H 1
#include "weechat-plugin.h"
#include "../irc/irc.h"
#include "../gui/gui.h"
typedef int (t_weechat_init_func) (t_weechat_plugin *);
@@ -31,6 +32,7 @@ extern t_weechat_plugin *weechat_plugins;
extern t_weechat_plugin *last_weechat_plugin;
extern t_gui_buffer *plugin_find_buffer (char *, char *);
extern t_irc_server *plugin_find_server (char *, char *);
extern void plugin_exec_on_files (t_weechat_plugin *, char *,
int (*)(t_weechat_plugin *, char *));
extern t_weechat_plugin *plugin_search (char *);