Fix up StatServ default, fix a crash with regards to NeoStats Root Bots and event params, and start updating documentation in preperation for a release (OMG I hear the crowd gasp\!)
This commit is contained in:
parent
a5bb140bc5
commit
332f254a0a
6 changed files with 2776 additions and 571 deletions
1
.gitattributes
vendored
1
.gitattributes
vendored
|
@ -48,6 +48,7 @@ doc/FAQ -text
|
|||
doc/README.dev -text
|
||||
doc/README.french -text
|
||||
doc/USERMAN -text
|
||||
doc/USERMAN.html -text
|
||||
doc/USERMAN.xml -text
|
||||
doc/old/ChangeLog.connectserv.old -text
|
||||
doc/old/ChangeLog.hostserv.old -text
|
||||
|
|
|
@ -4,6 +4,7 @@ Anything we add/remove/fix/change is in here (even our rants)
|
|||
Fish (F), Mark (M), DeadNotBuried (D)
|
||||
===============================================================================
|
||||
* NeoStats * Version 3.0.a4-dev
|
||||
- StatServ should default to Enabled for Global Exclusions Setting (F)
|
||||
- Rename TextServ databases with extension tsdb and move into the Data
|
||||
Directory, rather than data/TSDB (F)
|
||||
- Context Sensitive Help is now in place (eg, !help versus /msg bot help) (F)
|
||||
|
|
164
doc/USERMAN.html
Normal file
164
doc/USERMAN.html
Normal file
File diff suppressed because one or more lines are too long
3177
doc/USERMAN.xml
3177
doc/USERMAN.xml
File diff suppressed because it is too large
Load diff
|
@ -121,7 +121,7 @@ static bot_setting ss_settings[]=
|
|||
{"LAGTIME", &StatServ.lagtime, SET_TYPE_INT, 1, 256, NS_ULEVEL_ADMIN, "seconds", ss_help_set_lagtime, NULL, ( void * )30},
|
||||
{"LAGALERT", &StatServ.lagalert, SET_TYPE_INT, 0, 3, NS_ULEVEL_ADMIN, NULL, ss_help_set_lagalert, NULL, ( void * )1},
|
||||
{"RECORDALERT", &StatServ.recordalert, SET_TYPE_INT, 0, 3, NS_ULEVEL_ADMIN, NULL, ss_help_set_recordalert, NULL, ( void * )1},
|
||||
{"EXCLUSIONS", &StatServ.exclusions, SET_TYPE_BOOLEAN, 0, 0, NS_ULEVEL_ADMIN, NULL, ss_help_set_exclusions, ss_set_exclusions_cb, ( void * )0},
|
||||
{"EXCLUSIONS", &StatServ.exclusions, SET_TYPE_BOOLEAN, 0, 0, NS_ULEVEL_ADMIN, NULL, ss_help_set_exclusions, ss_set_exclusions_cb, ( void * )1},
|
||||
{"FLATMAP", &StatServ.flatmap, SET_TYPE_BOOLEAN, 0, 0, NS_ULEVEL_ADMIN, NULL, ss_help_set_flatmap, NULL, ( void * )0},
|
||||
NS_SETTING_END()
|
||||
};
|
||||
|
|
|
@ -594,7 +594,7 @@ int run_bot_cmd( CmdParams *cmdparams, int ischancmd )
|
|||
* a EVENT_PRIVATE event handler otherwise we assume the event handler will handle the unknown command
|
||||
* also, don't report anything if its a channel message
|
||||
*/
|
||||
if( !ischancmd && (cmdparams->bot->moduleptr->event_list[EVENT_PRIVATE] == NULL) ) {
|
||||
if( !ischancmd && ((cmdparams->bot->moduleptr->event_list == NULL) || (cmdparams->bot->moduleptr->event_list[EVENT_PRIVATE] == NULL)) ) {
|
||||
msg_unknown_command( cmdparams );
|
||||
cmdret = NS_SUCCESS;
|
||||
} else {
|
||||
|
|
Reference in a new issue