[NeoStats-Devel] [Commits] r12 - trunk

[email protected]
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Mark
Date: Sun May 22 06:19:13 2005
New Revision: 12

Modified:
   trunk/blsb.c
   trunk/blsb.h
   trunk/blsb_help.c
Log:
move lookup help text to core in preparation for the command to be here

Modified: trunk/blsb.c
==============================================================================
--- trunk/blsb.c	(original)
+++ trunk/blsb.c	Sun May 22 06:19:13 2005
@@ -106,6 +106,12 @@
 	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 @@
 	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;

Modified: trunk/blsb.h
==============================================================================
--- trunk/blsb.h	(original)
+++ trunk/blsb.h	Sun May 22 06:19:13 2005
@@ -67,10 +67,10 @@
 
 
 /* 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[];

Modified: trunk/blsb_help.c
==============================================================================
--- trunk/blsb_help.c	(original)
+++ trunk/blsb_help.c	Sun May 22 06:19:13 2005
@@ -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 @@
 	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",
 	"",
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.