[NeoStats-Devel] [Commits] r2589 - trunk/src/protocol

[email protected]
Newsgroups gmane.comp.neostats.devel
Message-ID <[email protected]>
Author: Mark
Date: Sat May  7 04:38:01 2005
New Revision: 2589

Modified:
   trunk/src/protocol/client.c
Log:
client fix

Modified: trunk/src/protocol/client.c
==============================================================================
--- trunk/src/protocol/client.c	(original)
+++ trunk/src/protocol/client.c	Sat May  7 04:38:01 2005
@@ -179,7 +179,7 @@
 static void m_kick( char *origin, char **argv, int argc, int srv );
 static void m_join( char *origin, char **argv, int argc, int srv );
 static void m_part( char *origin, char **argv, int argc, int srv );
-static void m_emotd( char *origin, char **argv, int argc, int srv );
+static void m_rpl_welcome( char *origin, char **argv, int argc, int srv );
 
 ProtocolInfo protocol_info = 
 {
@@ -209,13 +209,13 @@
 	"+o",
 };
 
-char *numeric376 = "376";
+char *numeric001 = "001";
 irc_cmd cmd_list[] = 
 {
 	/*Message	Token	Function	usage */
 	{&MSG_PRIVATE, 0, m_private, 0},
 	{&MSG_NOTICE, 0, _m_notice, 0},
-	{&numeric376, 0, m_emotd, 0},
+	{&numeric001, 0, m_rpl_welcome, 0},
 	{&MSG_NICK, 0, m_nick, 0},
 	{&MSG_TOPIC, 0, m_topic, 0},
 	{&MSG_KICK, 0, m_kick, 0},
@@ -382,8 +382,8 @@
 	DelFakeUser( origin );
 }
 
-static void m_emotd( char *origin, char **argv, int argc, int srv )
+static void m_rpl_welcome( char *origin, char **argv, int argc, int srv )
 {
 	send_cmd( "%s mark mark", MSG_OPER );
-	do_synch_neostats(  );
+	do_synch_neostats();
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.