move lookup help text to core in preparation for the command to be here

This commit is contained in:
Mark 2005-05-21 22:19:13 +00:00
parent c91fa2637b
commit d742e40da5
3 changed files with 11 additions and 29 deletions

15
blsb.c
View file

@ -106,6 +106,12 @@ static BotInfo blsb_botinfo =
blsb_settings,
};
ModuleEvent module_events[] =
{
{ EVENT_NICKIP, ss_event_signon, EVENT_FLAG_EXCLUDE_ME},
{ EVENT_NULL, NULL}
};
int blsb_cmd_domains_list (CmdParams* cmdparams)
{
dom_list *dl;
@ -297,14 +303,7 @@ int ModSynch (void)
if( blsb.verbose )
irc_chanalert (blsb_bot, "Black List Scanning bot has started");
return NS_SUCCESS;
};
ModuleEvent module_events[] =
{
{ EVENT_NICKIP, ss_event_signon, EVENT_FLAG_EXCLUDE_ME},
{ EVENT_NULL, NULL}
};
}
void dnsbl_callback(void *data, adns_answer *a) {
scanclient *sc = (scanclient *)data;

8
blsb.h
View file

@ -67,10 +67,10 @@ typedef struct scanclient {
/* blsb_help.c */
extern const char *blsb_help_set_akill [];
extern const char *blsb_help_set_akilltime [];
extern const char *blsb_help_set_cachetime [];
extern const char *blsb_help_set_verbose [];
extern const char *blsb_help_set_akill[];
extern const char *blsb_help_set_akilltime[];
extern const char *blsb_help_set_cachetime[];
extern const char *blsb_help_set_verbose[];
extern const char *blsb_help_set_exclusions[];
extern const char blsb_help_domains_oneline[];
extern const char *blsb_help_domains[];

View file

@ -25,7 +25,6 @@
const char blsb_help_domains_oneline[] = "Manage the Blacklist Domains";
const char blsb_help_status_oneline[] = "View blsb state information";
const char blsb_help_lookup_oneline[] = "Lookup DNS record";
const char blsb_help_remove_oneline[] = "Remove an akill set by blsb";
const char blsb_help_check_oneline[] = "Scan a selected user";
const char blsb_help_ports_oneline[] = "Allows you to customize the ports scanned";
@ -36,22 +35,6 @@ const char *blsb_help_domains[] = {
NULL
};
const char *blsb_help_lookup[] = {
"Syntax: \2LOOKUP <ip|hostname> [type]\2",
"",
"Lookup DNS records for an ip address or hostname.",
"The default lookup is the ip address for a hostname",
"or the hostname for an ip address.",
"",
"Options for type are:",
" txt - text records",
" rp - responsible person for this record",
" ns - name servers for this record",
" soa - SOA for this record",
"",
NULL
};
const char *blsb_about[] = {
"\2Open Proxy Scanning Bot Information\2",
"",