mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 08:02:13 +02:00
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
This commit is contained in:
parent
59d47df22d
commit
4255d6c075
10 changed files with 498 additions and 126 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue