From 4255d6c075d22629333015cf3daf1b42f4af1f5b Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Mon, 29 May 2000 12:47:25 +0000 Subject: User changes are sent to botnet. Botnet commands are automatically sent forward unless you stop it with signal_stop_by_name("botnet event"). git-svn-id: http://svn.irssi.org/repos/irssi/trunk@249 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/bot/botnet.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/irc/bot/botnet.h') diff --git a/src/irc/bot/botnet.h b/src/irc/bot/botnet.h index 722ba8be..22765f1d 100644 --- a/src/irc/bot/botnet.h +++ b/src/irc/bot/botnet.h @@ -97,10 +97,13 @@ void bot_send_cmd(BOT_REC *bot, char *data); void bot_send_cmdv(BOT_REC *bot, char *format, ...); /* broadcast a message to everyone in bot network, except for `except_bot' - if it's not NULL */ + if it's not NULL. If botnet is NULL, the message is sent to all botnets. */ void botnet_broadcast(BOTNET_REC *botnet, BOT_REC *except_bot, const char *source, const char *data); +void botnet_send_cmd(BOTNET_REC *botnet, const char *source, + const char *target, const char *data); + BOT_REC *botnet_find_master(BOTNET_REC *botnet, BOT_REC *old_master); void botnet_set_master(BOTNET_REC *botnet, BOT_REC *bot); -- cgit v1.2.3