fix NOBAN check when adding blacklist
This commit is contained in:
parent
83d77cf6ca
commit
96ba126aa0
2 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,9 @@
|
||||||
Black List Scanning Bot Module for NeoStats Changelog.
|
Black List Scanning Bot Module for NeoStats Changelog.
|
||||||
|
Fish (F) & Mark (M) & DeadNotBuried (D)
|
||||||
==============================================================================
|
==============================================================================
|
||||||
3.0.a3 - Fish (F) & Mark (M) & DeadNotBuried (D)
|
3.0.b1
|
||||||
|
- Fix check for NOBAN on add (D)
|
||||||
|
3.0.a3
|
||||||
- Add support for lookup lists only without banning (D)
|
- Add support for lookup lists only without banning (D)
|
||||||
- Make sure we broadcast a message when we akill even if not in verbose (F)
|
- Make sure we broadcast a message when we akill even if not in verbose (F)
|
||||||
- AKILL support (F)
|
- AKILL support (F)
|
||||||
|
|
2
blsb.c
2
blsb.c
|
@ -342,7 +342,7 @@ int blsb_cmd_add( const CmdParams *cmdparams )
|
||||||
}
|
}
|
||||||
lnode = list_next(blsb.domains, lnode);
|
lnode = list_next(blsb.domains, lnode);
|
||||||
}
|
}
|
||||||
dl = new_bldomain( cmdparams->av[2], cmdparams->av[0], type, msg , ircstrcasecmp( cmdparams->av[3], "NOBAN" ) ? 1 : 0);
|
dl = new_bldomain( cmdparams->av[2], cmdparams->av[0], type, msg , ircstrcasecmp( cmdparams->av[3], "NOBAN" ) ? 0 : 1);
|
||||||
irc_prefmsg( blsb_bot, cmdparams->source, "Added domain %s (%s) as type %d", dl->name, dl->domain, dl->type );
|
irc_prefmsg( blsb_bot, cmdparams->source, "Added domain %s (%s) as type %d", dl->name, dl->domain, dl->type );
|
||||||
CommandReport( blsb_bot, "%s added domain %s (%s) as type %d", cmdparams->source->name, dl->name, dl->domain, dl->type );
|
CommandReport( blsb_bot, "%s added domain %s (%s) as type %d", cmdparams->source->name, dl->name, dl->domain, dl->type );
|
||||||
return NS_SUCCESS;
|
return NS_SUCCESS;
|
||||||
|
|
Reference in a new issue