Author: Isomer <isomer@coders.net>
authorPerry Lorier <isomer@undernet.org>
Sat, 1 Apr 2000 10:58:16 +0000 (10:58 +0000)
committerPerry Lorier <isomer@undernet.org>
Sat, 1 Apr 2000 10:58:16 +0000 (10:58 +0000)
Log message:

Yay! The previous fix worked, so here it is for opers.  I was very tempted
to leave it out and let idle opers ping out, but I got talked into fixing it
for them too.  Oh well, now opers can idle too in peace.  This should
finally fix those damn annoying ping bugs!

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@127 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
include/ircd_defs.h
ircd/parse.c

index f603b52a7514f2a473fae956d773cfdfb335273b..e1b7d1ff938bd9ce5189fcea82f0cf2cb9697563 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2000-03-30  Perry Lorier <isomer@coders.net>
+       * ircd/parse.c: oops, missed opers.
+
 2000-03-30  Perry Lorier <isomer@coders.net>
        * ircd/parse.c: fixed mystifying ping bug thats been plaguing us
        for so long.  Remember: m_ping MUST be in the parse array. :)
 #
 # ChangeLog for ircu2.10.11
 #
-# $Id: ChangeLog,v 1.56 2000-04-01 08:54:11 isomer Exp $
+# $Id: ChangeLog,v 1.57 2000-04-01 10:58:16 isomer Exp $
 #
 # Insert new changes at beginning of the change list.
 #
index 07e05e5ced83dbfd501b480a5349b3747e2f29b4..6ec4f82083c70bbda81fbdb5928b0c4da6e3bbd1 100644 (file)
 
 /*
  * NICKLEN is the maximum length allowed for a nickname
+ *
+ * Because certain networks are very helpful in finding bugs, the below
+ * is a default that can easily be overridden in CFLAGS.  Just add 
+ * -DNICKLEN=15 to CFLAGS and save your config in .., and you can forget about
+ * it.  Thanks for helping debug guys.
  */
+#ifndef NICKLEN
 #define NICKLEN         9
+#endif
 /*
  * USERLEN is the maximum length allowed of a user name including an optional
  * leading '~' if the user name has not been authenticated by an auth (RFC 931)
index 18bbfb161f5732eff0d9cdab6d266170cb797965..c5d562adb8f7ee459f2bc3ed5514df7e67ab513f 100644 (file)
@@ -199,7 +199,7 @@ struct Message msgtab[] = {
     TOK_PONG,
     0, MAXPARA, MFLG_SLOW | MFLG_UNREG, 0,
     /* UNREG, CLIENT, SERVER, OPER, SERVICE */
-    { mr_pong, m_pong, ms_pong, m_ignore, m_ignore }
+    { mr_pong, m_pong, ms_pong, m_pong, m_ignore }
   },
   {
     MSG_ERROR,