summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes3
-rw-r--r--src/chanserv.c6
-rw-r--r--version.log6
3 files changed, 10 insertions, 5 deletions
diff --git a/Changes b/Changes
index f1c5b2950..ffd5489db 100644
--- a/Changes
+++ b/Changes
@@ -1,6 +1,5 @@
Anope Version S V N
--------------------
-10/07 F Segfault on missing required InspIRCd11 modules. [#794]
08/29 A Session limit exceptions now support IP numbers as hostmask. [#723]
08/29 A Added InspIRCd11 vIdent support. [#684]
08/30 A Added support for channel keys to UnrealIRCd 3.2 SVSJOIN command. [#774]
@@ -46,9 +45,11 @@ Anope Version S V N
09/24 F Polish language reported itself as English when switching to it. [#789]
09/24 F OperServ HELP OPER showing incorrect access levels. [#788]
10/05 F Typo in inspircd11.c checking for m_chgident.so loaded. [#793]
+10/07 F Segfault on missing required InspIRCd11 modules. [#794]
12/02 F Fixed a typo in en_us.l. [#806]
12/02 F Fixed a typo in install.js. [#804]
12/02 F Fixed the protect commands in inspircd11.c. [#805]
+12/03 F Unregistered users now have access level 0 instead of -1. [#796]
Provided by Trystan <trystan@nomadirc.net> - 2007
08/29 F Module runtime directory not always properly cleaned up. [#768]
diff --git a/src/chanserv.c b/src/chanserv.c
index bfabb1d4a..547f337ce 100644
--- a/src/chanserv.c
+++ b/src/chanserv.c
@@ -2232,7 +2232,7 @@ int get_access(User * user, ChannelInfo * ci)
ChanAccess *access;
if (!ci || !user)
- return -1;
+ return 0;
/* SuperAdmin always has highest level */
if (user->isSuperAdmin)
@@ -2242,7 +2242,7 @@ int get_access(User * user, ChannelInfo * ci)
return ACCESS_FOUNDER;
if (!user->na)
- return -1;
+ return 0;
if (nick_identified(user)
|| (nick_recognized(user) && !(ci->flags & CI_SECURE)))
@@ -2252,7 +2252,7 @@ int get_access(User * user, ChannelInfo * ci)
if (nick_identified(user))
return 0;
- return -1;
+ return 0;
}
/*************************************************************************/
diff --git a/version.log b/version.log
index 6a6ff3f06..2f11196a9 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="19"
VERSION_EXTRA="-svn"
-VERSION_BUILD="1311"
+VERSION_BUILD="1313"
# $Log$
#
+# BUILD : 1.7.19 (1313)
+# BUGS : 796
+# NOTES : Fixed unregistered users getting access level -1 instead of 0 so they could never get opped
+#
# BUILD : 1.7.19 (1311)
# BUGS : 804,805,806
# NOTES : Applied the patches of my beer buddy.