[NeoStats-Devel] [Commits] r45 - trunk
[email protected] Thu, 18 Aug 2005 06:57:56 +1000
| Newsgroups | gmane.comp.neostats.devel |
|---|---|
| Message-ID | <[email protected]> |
Author: Mark
Date: Thu Aug 18 04:57:53 2005
New Revision: 45
Modified:
trunk/floodserv.c
Log:
New macros NS_CMD_END() and NS_SETTING_END() for terminating command and setting lists
Modified: trunk/floodserv.c
==============================================================================
--- trunk/floodserv.c (original)
+++ trunk/floodserv.c Thu Aug 18 04:57:53 2005
@@ -148,13 +148,13 @@
{"JOINTHRESHOLD", &fscfg.jointhreshold, SET_TYPE_INT, 1, 1000, NS_ULEVEL_ADMIN,NULL, fs_help_set_jointhreshold, NULL, ( void * )5 },
{"CHANLOCKKEY", &fscfg.chanlockkey, SET_TYPE_STRING, 0, KEYLEN, NS_ULEVEL_ADMIN,NULL, fs_help_set_chanlockkey, NULL, ( void * )"random" },
{"CHANLOCKTIME", &fscfg.chanlocktime, SET_TYPE_INT, 0, 600, NS_ULEVEL_ADMIN,NULL, fs_help_set_chanlocktime, NULL, ( void * )30 },
- {NULL, NULL, 0, 0, 0, 0, NULL, NULL, NULL },
+ NS_SETTING_END()
};
static bot_cmd fs_commands[]=
{
{"STATUS", fs_cmd_status, 0, NS_ULEVEL_OPER, fs_help_status},
- {NULL, NULL, 0, 0, NULL}
+ NS_CMD_END()
};
BotInfo fs_botinfo =