]> jfr.im git - irc/unrealircd/unrealircd.git/commitdiff
Umm, unbroke some stuff.
authorluke <redacted>
Thu, 30 Jan 2003 03:59:46 +0000 (03:59 +0000)
committerluke <redacted>
Thu, 30 Jan 2003 03:59:46 +0000 (03:59 +0000)
.RELEASE.NOTES
Changes
Config
Unreal.nfo
include/msg.h
include/version.h
include/win32/settings.h
src/channel.c
update

index 162053efe1a00392dcaefb02cc09de9e9b0930a9..c63336a24b2989be53378fd2077cc094878fcccf 100644 (file)
@@ -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.
diff --git a/Changes b/Changes
index 8e45a198d6d179652cedd3f8a162bf54ebd3244e..333eec1b22845e8b56ae740f1d9455b759acd5da 100644 (file)
--- a/Changes
+++ b/Changes
@@ -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
+===================================
diff --git a/Config b/Config
index 42059c74427b22588766b5d693ead11f92d9a3e9..3eac295a387d22dab5a8bf823507e20acd618832 100755 (executable)
--- a/Config
+++ b/Config
@@ -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"
 #
index 3af63274acf45d3ef6b0b591d88601f49d9957f1..04f67cb5ea3f201163bc33109a20ee71c9b262a7 100644 (file)
@@ -1,5 +1,5 @@
 ===============================================
-=            UnrealIRCd v3.1.5.1              =
+=            UnrealIRCd v3.1.6                =
 ===============================================
  Was brought to you by:
   * Stskeeps  <stskeeps@unrealircd.com>
index a4187021a01e560297426c3f8a3017ae443a88d7..cef81c4037b257af2c4b3770e3e957488c6b8b1f 100644 (file)
@@ -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}
 };
 
index 2e73df39d0f055e862ebf63f9427c2b296905faa..9e5bfb9a41a59e32a7d1f2fd0319145075873efc 100644 (file)
      /**/
 #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
index 265fb33c0806ce45caea91ece26d5222584bf3e4..425af0443f55bbbff8decc6276ee80ecdeda174f 100644 (file)
@@ -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
  *
index 9637d404220cd4fa2cdaa68119deaffe42c58c77..34419956111d06814ddb6d8053c7cae3a148b04f 100644 (file)
@@ -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
diff --git a/update b/update
index 64c43a0c22c134111ca81128ac2a746a5e5c5ce8..097c296b2f280fe5ce783d7927a6c92459621b92 100755 (executable)
--- a/update
+++ b/update
@@ -7,7 +7,7 @@
 # or included in any package without permission from the author.
 #
 # NO WARRANTY IS INCLUDED
-CURRENT_VERSION="Unreal3.1.5.1-Valek"
+CURRENT_VERSION="Unreal3.1.6-Noon"
 WHATYAWANT="wget"
 clear
 cat .UPDATE