--- include/config.h.orig Tue May 15 20:18:52 2001 +++ include/config.h Tue May 15 20:20:42 2001 @@ -399,5 +399,5 @@ * correctly for performance reasons. */ -#undef HUB +#define HUB /* CMDLINE_CONFIG - allow conf-file to be specified on command line @@ -892,4 +892,13 @@ */ #define HYBRID_SOMAXCONN 25 + +/* + * Allow server opers to give/take OP in a channel.. + * Note: This is small hack. The Oper can't give/take his own + * op status. + * + * by Simon Nielsen +*/ +#define OPER_CHANNEL_OP_HACK /* DEBUGMODE is used mostly for internal development, it is likely --- src/channel.c.orig Tue May 15 20:15:13 2001 +++ src/channel.c Tue May 15 20:17:51 2001 @@ -1184,6 +1184,10 @@ /* is an op or server or remote user on a TS channel */ - isok = ischop || (!isdeop && IsServer(cptr) && chptr->channelts); - + isok = ischop || (!isdeop && IsServer(cptr) && + chptr->channelts) || IsAnOper(sptr); + #else + isok = ischop || (!isdeop && IsServer(cptr) && + chptr->channelts); + #endif if(isok) chptr->keep_their_modes = YES; --- include/ircd_defs.h.orig Tue May 15 20:25:38 2001 +++ include/ircd_defs.h Tue May 15 20:23:45 2001 @@ -36,5 +36,5 @@ /* comply with RFC1123 */ -#define NICKLEN 9 /* Necessary to put 9 here instead of 10 +#define NICKLEN 20 /* Necessary to put 9 here instead of 10 * if s_msg.c/m_nick has been corrected. * This preserves compatibility with old @@ -43,5 +43,5 @@ #define USERLEN 10 #define REALLEN 50 -#define TOPICLEN 120 /* old value 90, truncated on other servers */ +#define TOPICLEN 1000 /* old value 90, truncated on other servers */ #define KILLLEN 90 #define CHANNELLEN 200