change LIST command to LISTPORTS as LIST can't have a access level changed if a command

This commit is contained in:
DNB 2006-09-11 03:28:25 +00:00
parent 3afc6c2c38
commit fcf56ab7aa
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
Open Proxy Scanning Bot Module for NeoStats Changelog.
==============================================================================
3.0.b1 - Mark (M) & Fish (F) & DeadNotBuried (D)
- change LIST command to LISTPORTS as LIST can't have a access level changed if a command
- fix crash on adding new port (D)
- Fix the open_proxy crash when a user had signed off and thus we had a
dangling pointer (F)

2
opsb.c
View file

@ -91,7 +91,7 @@ static bot_cmd opsb_commands[]=
{"CHECK", opsb_cmd_check, 1, NS_ULEVEL_OPER, opsb_help_check, 0, NULL, NULL},
{"ADD", opsb_cmd_add, 2, NS_ULEVEL_ADMIN, opsb_help_add, 0, NULL, NULL},
{"DEL", opsb_cmd_del, 1, NS_ULEVEL_ADMIN, opsb_help_del, 0, NULL, NULL},
{"LIST", opsb_cmd_list, 0, NS_ULEVEL_ADMIN, opsb_help_list, 0, NULL, NULL},
{"LISTPORTS", opsb_cmd_list, 0, NS_ULEVEL_ADMIN, opsb_help_list, 0, NULL, NULL},
NS_CMD_END()
};