mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 17:14:46 +02:00
Umm, unbroke some stuff.
This commit is contained in:
+2
-2
@@ -1,8 +1,8 @@
|
||||
|
||||
Unreal3.1.5.1-Valek Release Notes
|
||||
Unreal3.1.6-Noon Release Notes
|
||||
===================================
|
||||
|
||||
* Um, yea, so we found this bug...
|
||||
* Initial release preparation, no bugs fixed yet!
|
||||
|
||||
* If you are upgrading from Unreal3.1.4-Meadows, please read
|
||||
doc/RELEASE-NOTES.3.1.5 as well.
|
||||
|
||||
@@ -780,3 +780,20 @@ probably isn't a good thing
|
||||
===================================
|
||||
|
||||
*** Unreal 3.1.5.1 Released ***
|
||||
|
||||
[ Unreal 3.1.6 ]
|
||||
--------------------------------------------------
|
||||
No comment.
|
||||
--------------------------------------------------
|
||||
|
||||
Initial release prep, changing version numbers in cvs
|
||||
(again).
|
||||
===================================
|
||||
|
||||
Fixed /botserv bug, reported by SciFi
|
||||
--Luke
|
||||
===================================
|
||||
|
||||
Unbroke +A channels and bans. :-/
|
||||
--Luke
|
||||
===================================
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
# distribution without the author's prior consent.
|
||||
#
|
||||
# $Id$
|
||||
IRCD_VERSION="Unreal3.1.5.1 Valek"
|
||||
IRCD_VERSION="Unreal3.1.6 Noon"
|
||||
CONF_DATE=`date`
|
||||
LAST_VERSION="very very old"
|
||||
#
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
===============================================
|
||||
= UnrealIRCd v3.1.5.1 =
|
||||
= UnrealIRCd v3.1.6 =
|
||||
===============================================
|
||||
Was brought to you by:
|
||||
* Stskeeps <stskeeps@unrealircd.com>
|
||||
|
||||
+2
-2
@@ -503,8 +503,8 @@ struct Message msgtab[] = {
|
||||
{MSG_SVSNAME, m_chgname, 0, MAXPARA, TOK_CHGNAME, 0L},
|
||||
{MSG_SHUN, m_shun, 0, MAXPARA, TOK_SHUN, 0L},
|
||||
{MSG_NEWJOIN, m_join, 0, MAXPARA, TOK_JOIN, 0L},
|
||||
{MSG_BOTSERV, m_botserv, 0, MAXPARA, TOK_BOTSERV,0L},
|
||||
{TOK_BOTSERV, m_botserv, 0, MAXPARA, TOK_BOTSERV,0L},
|
||||
{MSG_BOTSERV, m_botserv, 0, 1, TOK_BOTSERV,0L},
|
||||
{TOK_BOTSERV, m_botserv, 0, 1, TOK_BOTSERV,0L},
|
||||
{(char *)0, (int (*)())0, 0, 0, 0, 0L}
|
||||
};
|
||||
|
||||
|
||||
+4
-4
@@ -25,14 +25,14 @@
|
||||
/**/
|
||||
#define COMPILEINFO DEBUGMODESET DEBUGSET
|
||||
/*
|
||||
* Version Unreal3.1.5.1-Valek
|
||||
* Version Unreal3.1.6-Noon
|
||||
*/
|
||||
#define UnrealProtocol 2302
|
||||
#define PATCH1 "3"
|
||||
#define PATCH2 ".1"
|
||||
#define PATCH3 ".5"
|
||||
#define PATCH4 ".1"
|
||||
#define PATCH5 "-Valek"
|
||||
#define PATCH3 ".6"
|
||||
#define PATCH4 "-Noon"
|
||||
#define PATCH5 "[beta1]"
|
||||
#define PATCH6 ""
|
||||
#define PATCH7 ""
|
||||
#define PATCH8 COMPILEINFO
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* VERSION: Unreal3.1.5.1 Valek
|
||||
* VERSION: Unreal3.1.6 Noon
|
||||
* DATE: Sat Jun 15 13:43:51 EST 2002
|
||||
* OS: Win-32
|
||||
*
|
||||
|
||||
+6
-5
@@ -2288,12 +2288,11 @@ static int can_join(cptr, sptr, chptr, key, link, parv)
|
||||
char *parv[];
|
||||
{
|
||||
Link *lp;
|
||||
Ban *banned = NULL;
|
||||
|
||||
if ((chptr->mode.mode & MODE_ONLYSECURE) &&
|
||||
!(sptr->umodes & UMODE_SECURE))
|
||||
{
|
||||
return (ERR_SECUREONLYCHAN);
|
||||
}
|
||||
|
||||
if ((chptr->mode.mode & MODE_OPERONLY) && !IsOper(sptr))
|
||||
return (ERR_OPERONLY);
|
||||
@@ -2306,15 +2305,17 @@ static int can_join(cptr, sptr, chptr, key, link, parv)
|
||||
return (ERR_NOHIDING);
|
||||
#endif
|
||||
|
||||
banned = is_banned(cptr, sptr, chptr);
|
||||
|
||||
/* Admin, Coadmin, Netadmin, and SAdmin can still walk +b in +O */
|
||||
if (IsOper(sptr) && !IsAdmin(sptr) && !IsCoAdmin(sptr) && !IsNetAdmin(sptr)
|
||||
&& !IsSAdmin(sptr) && is_banned(cptr, sptr, chptr)
|
||||
&& !IsSAdmin(sptr) && banned
|
||||
&& (chptr->mode.mode & MODE_OPERONLY))
|
||||
return (ERR_BANNEDFROMCHAN);
|
||||
|
||||
/* Only NetAdmin/SAdmin can walk +b in +A */
|
||||
if (IsOper(sptr) && !IsNetAdmin(sptr) && !IsSAdmin(sptr)
|
||||
&& (chptr->mode.mode & MODE_ADMONLY))
|
||||
&& banned && (chptr->mode.mode & MODE_ADMONLY))
|
||||
return (ERR_BANNEDFROMCHAN);
|
||||
|
||||
for (lp = sptr->user->invited; lp; lp = lp->next)
|
||||
@@ -2353,7 +2354,7 @@ static int can_join(cptr, sptr, chptr, key, link, parv)
|
||||
if ((chptr->mode.limit && chptr->users >= chptr->mode.limit))
|
||||
return (ERR_CHANNELISFULL);
|
||||
|
||||
if (is_banned(sptr, sptr, chptr))
|
||||
if (banned)
|
||||
return (ERR_BANNEDFROMCHAN);
|
||||
|
||||
#ifndef NO_OPEROVERRIDE
|
||||
|
||||
Reference in New Issue
Block a user