[NeoStats-Devel] [Commits] r2746 - trunk/modules/connectserv

[email protected] Fri, 19 Aug 2005 06:22:46 +1000
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Mark
Date: Fri Aug 19 04:22:44 2005
New Revision: 2746

Modified:
   trunk/modules/connectserv/cs.c
Log:
connectserv: fix reversed struct entries

Modified: trunk/modules/connectserv/cs.c
==============================================================================
--- trunk/modules/connectserv/cs.c	(original)
+++ trunk/modules/connectserv/cs.c	Fri Aug 19 04:22:44 2005
@@ -48,8 +48,8 @@
 /** Message structure */
 typedef struct msg
 {
-	const char *colour;
-	const char *nocolour;
+	const char *format;
+	const char *formatcolour;
 } msg;
 
 /** Message format lookup indices */
@@ -122,7 +122,7 @@
 	},
 };
 
-#define CS_MSG( x ) ( cs_cfg.colour == 1 ? msg_format[x].colour : msg_format[x].nocolour )
+#define CS_MSG( x ) ( cs_cfg.colour == 1 ? msg_format[x].formatcolour : msg_format[x].format )
 
 /** Bot event function prototypes */
 static int cs_event_signon( const CmdParams *cmdparams );