fix init_bot modes

This commit is contained in:
Mark 2004-02-08 20:45:46 +00:00
parent cd4e14b4c6
commit 294458e6be
2 changed files with 6 additions and 3 deletions

View file

@ -1,6 +1,9 @@
Open Proxy Scanning Bot Module for NeoStats Changelog. Open Proxy Scanning Bot Module for NeoStats Changelog.
============================================================================== ==============================================================================
* Version 2.1 * 24/01/2004 * Fish (F) * Version 2.2 * 24/01/2004 * Mark (M)
- Fixed init_bot code - now uses services_bot_modes not hard coded ones
* Version 2.1 * 24/01/2004 * Fish (F)
- Sync up libopm with blitzed version to fix a Socks 5 bug (F) - Sync up libopm with blitzed version to fix a Socks 5 bug (F)
* Version 2.0 * 29/12/2003 * Fish (F) and Mark (M) * Version 2.0 * 29/12/2003 * Fish (F) and Mark (M)

4
opsb.c
View file

@ -685,10 +685,10 @@ static int Online(char **av, int ac) {
SET_SEGV_LOCATION(); SET_SEGV_LOCATION();
if (init_bot(s_opsb,"opsb",me.name,"Proxy Scanning Bot", "+S", __module_info.module_name) == -1 ) { if (init_bot(s_opsb,"opsb",me.name,"Proxy Scanning Bot", services_bot_modes, __module_info.module_name) == -1 ) {
/* Nick was in use!!!! */ /* Nick was in use!!!! */
strlcat(s_opsb, "_", MAXNICK); strlcat(s_opsb, "_", MAXNICK);
init_bot(s_opsb,"opsb",me.name,"Proxy Scanning Bot", "+S", __module_info.module_name); init_bot(s_opsb,"opsb",me.name,"Proxy Scanning Bot", services_bot_modes, __module_info.module_name);
} }
if (opsb.confed == 0) { if (opsb.confed == 0) {
add_mod_timer("unconf", "Un_configured_warn", "opsb", 60); add_mod_timer("unconf", "Un_configured_warn", "opsb", 60);