help sysytem update

This commit is contained in:
Mark 2005-05-25 17:40:04 +00:00
parent 815034d047
commit 0da7a5905a
3 changed files with 11 additions and 16 deletions

10
blsb.c
View file

@ -89,11 +89,11 @@ ModuleInfo module_info =
static bot_cmd blsb_commands[]= static bot_cmd blsb_commands[]=
{ {
{"ADD", blsb_cmd_add, 3, NS_ULEVEL_ADMIN, blsb_help_add, blsb_help_add_oneline}, {"ADD", blsb_cmd_add, 3, NS_ULEVEL_ADMIN, blsb_help_add},
{"DEL", blsb_cmd_del, 1, NS_ULEVEL_ADMIN, blsb_help_del, blsb_help_del_oneline}, {"DEL", blsb_cmd_del, 1, NS_ULEVEL_ADMIN, blsb_help_del},
{"LIST", blsb_cmd_list, 0, NS_ULEVEL_ADMIN, blsb_help_list, blsb_help_list_oneline}, {"LIST", blsb_cmd_list, 0, NS_ULEVEL_ADMIN, blsb_help_list},
{"CHECK", blsb_cmd_check, 1, NS_ULEVEL_OPER, blsb_help_check, blsb_help_check_oneline}, {"CHECK", blsb_cmd_check, 1, NS_ULEVEL_OPER, blsb_help_check},
{NULL, NULL, 0, 0, NULL, NULL} {NULL, NULL, 0, 0, NULL}
}; };
static bot_setting blsb_settings[]= static bot_setting blsb_settings[]=

4
blsb.h
View file

@ -67,10 +67,6 @@ typedef struct scanclient {
/* blsb_help.c */ /* blsb_help.c */
extern const char *blsb_about[]; extern const char *blsb_about[];
extern const char blsb_help_add_oneline[];
extern const char blsb_help_del_oneline[];
extern const char blsb_help_list_oneline[];
extern const char blsb_help_check_oneline[];
extern const char *blsb_help_add[]; extern const char *blsb_help_add[];
extern const char *blsb_help_del[]; extern const char *blsb_help_del[];
extern const char *blsb_help_list[]; extern const char *blsb_help_list[];

View file

@ -23,13 +23,6 @@
#include "neostats.h" #include "neostats.h"
const char blsb_help_add_oneline[] = "Add to the blacklist domains";
const char blsb_help_del_oneline[] = "Delete from the blacklist domains";
const char blsb_help_list_oneline[] = "List the blacklist domains";
const char blsb_help_status_oneline[] = "View blsb status";
const char blsb_help_remove_oneline[] = "Remove an akill set by blsb";
const char blsb_help_check_oneline[] = "Scan a user";
const char *blsb_about[] = { const char *blsb_about[] = {
"\2Open Proxy Scanning Bot Information\2", "\2Open Proxy Scanning Bot Information\2",
"", "",
@ -45,6 +38,7 @@ const char *blsb_about[] = {
}; };
const char *blsb_help_check[] = { const char *blsb_help_check[] = {
"Scan a user",
"Syntax: \2CHECK <nick|ip|hostname>\2", "Syntax: \2CHECK <nick|ip|hostname>\2",
"", "",
"Scan a user connected to your network, an IP address, or a", "Scan a user connected to your network, an IP address, or a",
@ -54,6 +48,7 @@ const char *blsb_help_check[] = {
}; };
const char *blsb_help_status[] = { const char *blsb_help_status[] = {
"View blsb status",
"Syntax: \2STATUS\2", "Syntax: \2STATUS\2",
"", "",
"Display status of the blacklist lookup service", "Display status of the blacklist lookup service",
@ -61,6 +56,7 @@ const char *blsb_help_status[] = {
}; };
const char *blsb_help_add[] = { const char *blsb_help_add[] = {
"Add to the blacklist domains",
"Syntax: \2ADD <domain> <type> <name>\2", "Syntax: \2ADD <domain> <type> <name>\2",
"", "",
"Add a domain to the blacklist lookup list", "Add a domain to the blacklist lookup list",
@ -72,6 +68,7 @@ const char *blsb_help_add[] = {
}; };
const char *blsb_help_del[] = { const char *blsb_help_del[] = {
"Delete from the blacklist domains",
"Syntax: \2DEL <domain>\2", "Syntax: \2DEL <domain>\2",
"", "",
"Delete entry matching <domain> from the list of blacklist domains", "Delete entry matching <domain> from the list of blacklist domains",
@ -79,6 +76,7 @@ const char *blsb_help_del[] = {
}; };
const char *blsb_help_list[] = { const char *blsb_help_list[] = {
"List the blacklist domains",
"Syntax: \2LIST\2", "Syntax: \2LIST\2",
"", "",
"List the current domains used for lookups", "List the current domains used for lookups",
@ -86,6 +84,7 @@ const char *blsb_help_list[] = {
}; };
const char *blsb_help_remove[] = { const char *blsb_help_remove[] = {
"Remove an akill set by blsb",
"Syntax: \2REMOVE <ip|hostname>\2", "Syntax: \2REMOVE <ip|hostname>\2",
"", "",
"Remove akills that have been set by blsb.", "Remove akills that have been set by blsb.",