BotServ: BOT DEL * mass removal (Anope #315)
BOT DEL * removes every registered bot at once, quitting each pseudo- client, for cleaning up after a bot spree.
This commit is contained in:
parent
0e90dd8020
commit
9f5f0ed0d2
4 changed files with 103 additions and 1 deletions
|
|
@ -582,6 +582,7 @@ pub trait Store {
|
|||
fn bot_change(&mut self, old: &str, new_nick: &str, user: &str, host: &str, gecos: &str) -> Result<(), ChanError>;
|
||||
fn bot_set_private(&mut self, nick: &str, private: bool) -> Result<bool, ChanError>;
|
||||
fn bot_del(&mut self, nick: &str) -> Result<bool, ChanError>;
|
||||
fn bot_del_all(&mut self) -> Result<usize, ChanError>;
|
||||
fn bots(&self) -> Vec<BotView>;
|
||||
fn assign_bot(&mut self, channel: &str, bot: &str) -> Result<(), ChanError>;
|
||||
fn unassign_bot(&mut self, channel: &str) -> Result<bool, ChanError>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue