fix a core dump with /set
This commit is contained in:
parent
8838f03a77
commit
0fbbcf5f6c
2 changed files with 7 additions and 4 deletions
|
@ -1,6 +1,9 @@
|
|||
Open Proxy Scanning Bot Module for NeoStats Changelog.
|
||||
==============================================================================
|
||||
* Version 1.0RC3a * 5/11/2002 * Fish
|
||||
* Version 1.0 * 12/12/2002 * Fish
|
||||
- Fix a coredump when not enough paramaters supplied to the set command
|
||||
|
||||
* Version 1.0RC3 * 5/11/2002 * Fish
|
||||
- Fixed a problem when we delete a scanned user out of the active list when the tcp connect had finished, but not the dns bl lookup...
|
||||
- Attempting to find the cleanlist segv bug
|
||||
- Still trying to find this bug... Believe its in the buffer code
|
||||
|
|
6
opsb.c
6
opsb.c
|
@ -18,7 +18,7 @@
|
|||
** USA
|
||||
**
|
||||
** NeoStats CVS Identification
|
||||
** $Id: opsb.c,v 1.9 2002/11/18 13:45:32 fishwaldo Exp $
|
||||
** $Id: opsb.c,v 1.10 2002/12/13 11:33:10 fishwaldo Exp $
|
||||
*/
|
||||
|
||||
|
||||
|
@ -62,7 +62,7 @@ int online;
|
|||
Module_Info my_info[] = { {
|
||||
"OPSB",
|
||||
"A Open Proxy Scanning Bot",
|
||||
"1.0RC3a"
|
||||
"1.0RC3"
|
||||
} };
|
||||
|
||||
|
||||
|
@ -322,7 +322,7 @@ int __Bot_Message(char *origin, char **argv, int argc)
|
|||
return 0;
|
||||
}
|
||||
} else if (!strcasecmp(argv[1], "SET")) {
|
||||
if (argc < 3) {
|
||||
if (argc <= 3) {
|
||||
prefmsg(u->nick, s_opsb, "Syntax Error. /msg %s help set", s_opsb);
|
||||
return 0;
|
||||
}
|
||||
|
|
Reference in a new issue