[NeoStats-Devel] [Commits] r49 - branches/3.0

[email protected] Thu, 18 Aug 2005 07:01:40 +1000
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Mark
Date: Thu Aug 18 05:01:38 2005
New Revision: 49

Modified:
   branches/3.0/warserv.c
Log:
New macros NS_CMD_END() and NS_SETTING_END() for terminating command and setting lists

Modified: branches/3.0/warserv.c
==============================================================================
--- branches/3.0/warserv.c	(original)
+++ branches/3.0/warserv.c	Thu Aug 18 05:01:38 2005
@@ -65,13 +65,13 @@
 	{"PLAYERS",	ShowPlayersWarGame,	0,	0,	ws_help_players},
 	{"TURN",	ShowTurnWarGame,	0,	0,	ws_help_turn},
 	{"PLAY",	PlayCardsWarGame,	0,	0,	ws_help_play},
-	{NULL,		NULL,				0, 	0,	NULL}
+	NS_CMD_END()
 };
 
 static bot_setting ws_settings[]=
 {
 	{"CHAN",	&warroom,	SET_TYPE_CHANNEL,	0,	MAXCHANLEN,	NS_ULEVEL_ADMIN,	NULL,	ws_help_set_chan,	ws_cmd_set_chan,	(void *)"#Games_War" },
-	{NULL,		NULL,		0,			0,	0,		0,			NULL,		NULL, 			NULL },
+	NS_SETTING_END()
 };