diff options
author | Timo Sirainen <cras@irssi.org> | 2000-05-29 12:47:25 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-05-29 12:47:25 +0000 |
commit | 4255d6c075d22629333015cf3daf1b42f4af1f5b (patch) | |
tree | f9ee561486ed91bbe3c1eebafc9cfeee20d95887 /src/irc/bot/botnet.h | |
parent | 59d47df22dc3501a7dd7e51830260e36088bf545 (diff) | |
download | irssi-4255d6c075d22629333015cf3daf1b42f4af1f5b.zip |
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
Diffstat (limited to 'src/irc/bot/botnet.h')
-rw-r--r-- | src/irc/bot/botnet.h | 5 |
1 files changed, 4 insertions, 1 deletions
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); |