[NeoStats-Devel] [Commits] r2780 - in trunk: . modules/protocol
[email protected] Tue, 30 Aug 2005 23:29:04 +1000
| Newsgroups | gmane.comp.neostats.devel |
|---|---|
| Message-ID | <[email protected]> |
Author: Fish
Date: Tue Aug 30 21:28:56 2005
New Revision: 2780
Modified:
trunk/ChangeLog
trunk/modules/protocol/ultimate3.c
Log:
Netinfo on Ultimate3 is something different to other IRCd's
Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Tue Aug 30 21:28:56 2005
@@ -4,6 +4,7 @@
Fish (F), Mark (M), DeadNotBuried (D)
===============================================================================
* NeoStats * Version 3.0.a3-dev
+ - Netinfo on Ultimate3 is like Globops, not a burst function (F)
- Create core support for map generation accessible to all modules via a
callback handler and tidy up StatServ map code to take advantage of
the new function. (M)
Modified: trunk/modules/protocol/ultimate3.c
==============================================================================
--- trunk/modules/protocol/ultimate3.c (original)
+++ trunk/modules/protocol/ultimate3.c Tue Aug 30 21:28:56 2005
@@ -187,6 +187,7 @@
static void m_client( char *origin, char **argv, int argc, int srv );
static void m_smode( char *origin, char **argv, int argc, int srv );
static void m_vctrl( char *origin, char **argv, int argc, int srv );
+static void m_netinfo( char *origin, char **argv, int argc, int srv );
ProtocolInfo protocol_info =
{
@@ -228,6 +229,7 @@
{&MSG_CLIENT, 0, m_client, 0},
{&MSG_SMODE, 0, m_smode, 0},
{&MSG_VCTRL, 0, m_vctrl, 0},
+ {&MSG_NETINFO, 0, m_netinfo, 0},
{0, 0, 0, 0},
};
@@ -349,6 +351,10 @@
}
}
+void send_netinfo( const char *source, const char *maxglobalcnt, const unsigned long ts, const int prot, const char *cloak, const char *netname ) {
+ dlog(DEBUG3, "Warning, Ultimate3 Protocol Handler was asked to send Netinfo, Not supported");
+}
+
/* :source SJOIN TS #chan modebuf :nickbuf */
/* :source SJOIN TS #chan modebuf parabuf :nickbuf */
/* :source SJOIN TS #chan */
@@ -410,3 +416,8 @@
{
do_smode( argv[0], argv[1] );
}
+
+static void m_netinfo( char *origin, char **argv, int argc, int srv) {
+ /* netinfo is essentially the same as globops */
+ do_globops(origin, argv[0]);
+}