diff --git a/blsb.c b/blsb.c index 66b3455..9def44d 100644 --- a/blsb.c +++ b/blsb.c @@ -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; diff --git a/blsb.h b/blsb.h index d49e304..c9b57bc 100644 --- a/blsb.h +++ b/blsb.h @@ -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[]; diff --git a/blsb_help.c b/blsb_help.c index 8351ab8..8acaf74 100644 --- a/blsb_help.c +++ b/blsb_help.c @@ -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 [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", "",