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

[email protected] Thu, 18 Aug 2005 06:58:43 +1000
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Mark
Date: Thu Aug 18 04:58:41 2005
New Revision: 104

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

Modified: branches/3.0/logserv.c
==============================================================================
--- branches/3.0/logserv.c	(original)
+++ branches/3.0/logserv.c	Thu Aug 18 04:58:41 2005
@@ -66,7 +66,7 @@
 	{"LIST",	lgs_cmd_list,	0, 	NS_ULEVEL_OPER,	lgs_help_list},
 	{"URL",		lgs_cmd_url,	2, 	NS_ULEVEL_OPER,	lgs_help_url},
 	{"STATS",	lgs_cmd_stats,	0, 	NS_ULEVEL_OPER,	lgs_help_stats},
-	{NULL,		NULL,			0, 	0,				NULL}
+	NS_CMD_END()
 };
 
 bot_setting lgs_settings[]=
@@ -116,7 +116,7 @@
 	NULL,
 	lgs_help_set_savedir,
 	NULL, (void*)"chanlogs"},
-	{NULL,			NULL,			0,		0, 	0,	0,			NULL,		NULL,		NULL },
+	NS_SETTING_END()
 };
 
 static int lgs_join_logged_channel (Channel* c, ChannelLog *cl)