From db184a8fd3cd0fa850294b294e693d4a9bd0ff00 Mon Sep 17 00:00:00 2001 From: luke Date: Mon, 9 Dec 2002 21:26:28 +0000 Subject: [PATCH] Wheee, final release --- Changes | 17 +++++++++++++++++ include/version.h | 2 +- src/channel.c | 26 ++++---------------------- 3 files changed, 22 insertions(+), 23 deletions(-) diff --git a/Changes b/Changes index 0cf3d40bf..3bbf9fa4d 100644 --- a/Changes +++ b/Changes @@ -735,3 +735,20 @@ Fixed semantics with operoverride_verify and +s/+p channels. --Luke =================================== + +Kill me. Really. Still trying to fix services fun... +--Luke +=================================== + +Given up for now on fixing the services "problem." +(it isn't really a problem, afaik, it's just annoying.) +Anyone that has ideas about what causes it, or how +it can be fixed email luke@unrealircd.com. +The problem is that IRC Services 5 starts sending out +notices about being "unable to set modes for #channel" +blah blah. There isn't any indication of anything actually +being bounced, so we're not sure why it happens. +--Luke +=================================== + +*** Unreal 3.1.5 Released *** diff --git a/include/version.h b/include/version.h index 49c5c73d5..1c30d1d8d 100644 --- a/include/version.h +++ b/include/version.h @@ -32,7 +32,7 @@ #define PATCH2 ".1" #define PATCH3 ".5" #define PATCH4 "-Valek" -#define PATCH5 "[beta3]" +#define PATCH5 "" #define PATCH6 "" #define PATCH7 "" #define PATCH8 COMPILEINFO diff --git a/src/channel.c b/src/channel.c index cc76949ac..e2e21d37a 100644 --- a/src/channel.c +++ b/src/channel.c @@ -562,9 +562,7 @@ int is_chan_op(cptr, chptr) /* chanop/halfop ? */ if (chptr) if ((lp = find_user_link(chptr->members, cptr))) - return ((lp->flags & CHFL_CHANOP) || - (lp->flags & CHFL_CHANOWNER) || - (lp->flags & CHFL_CHANPROT)); + return ((lp->flags & CHFL_CHANOP)); return 0; } @@ -638,8 +636,7 @@ int is_chanprot(cptr, chptr) if (chptr) if ((lp = find_user_link(chptr->members, cptr))) - return (lp->flags & CHFL_CHANPROT || - lp->flags & CHFL_CHANOWNER); + return (lp->flags & CHFL_CHANPROT); return 0; } @@ -3620,7 +3617,7 @@ int m_topic(cptr, sptr, parc, parv) if (topiClen > (TOPICLEN)) topiClen = TOPICLEN; - if (nicKlen > (NICKLEN+USERLEN+HOSTLEN+4)) + if (nicKlen > (NICKLEN+USERLEN+HOSTLEN+5)) nicKlen = NICKLEN+USERLEN+HOSTLEN+5; chptr->topic = MyMalloc(topiClen + 1); @@ -4852,6 +4849,7 @@ int m_sjoin(aClient *cptr, aClient *sptr, int parc, char *parv[]) } /* remove bans */ + /* reset the buffers */ modebuf[0] = '-'; modebuf[1] = '\0'; parabuf[0] = '\0'; @@ -4860,22 +4858,6 @@ int m_sjoin(aClient *cptr, aClient *sptr, int parc, char *parv[]) { Addit('b', ban->banstr); } - /* blah code */ - if (b > 1) - { - modebuf[b] = '\0'; - sendto_serv_butone_sjoin(cptr, - ":%s MODE %s %s %s %lu", - sptr->name, chptr->chname, - modebuf, parabuf, chptr->creationtime); - sendto_channel_butserv(chptr, - sptr, ":%s MODE %s %s %s", - sptr->name, chptr->chname, modebuf, parabuf); - } - modebuf[0] = '-'; - modebuf[1] = '\0'; - parabuf[0] = '\0'; - b = 1; for (ban = chptr->exlist; ban; ban = ban->next) { Addit('e', ban->banstr);