diff options
author | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
---|---|---|
committer | Robin Burchell w00t@inspircd.org <Robin Burchell w00t@inspircd.org@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-30 18:45:11 +0000 |
commit | c4d520b465f8aa7f5924b17b697fa760b6ead409 (patch) | |
tree | 96f6c2164077f7319bc6be855ce250e23ec9f07d /src/botserv.c | |
parent | 76cc8d0462422eed9d7af255b152c24697821309 (diff) |
Move some stuff to BotInfo methods.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1232 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/botserv.c')
-rw-r--r-- | src/botserv.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/botserv.c b/src/botserv.c index 7fd029153..745acb47c 100644 --- a/src/botserv.c +++ b/src/botserv.c @@ -617,22 +617,6 @@ BotInfo *findbot(const char *nick) /*************************************************************************/ -/* Unassign a bot from a channel. Assumes u, ci and ci->bi are not NULL */ - -void unassign(User * u, ChannelInfo * ci) -{ - send_event(EVENT_BOT_UNASSIGN, 2, ci->name, ci->bi->nick); - - if (ci->c && ci->c->usercount >= BSMinUsers) { - anope_cmd_part(ci->bi->nick, ci->name, "UNASSIGN from %s", - u->nick); - } - ci->bi->chancount--; - ci->bi = NULL; -} - -/*************************************************************************/ - /* Returns ban data associated with an user if it exists, allocates it otherwise. */ |