summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/channels.c7
-rw-r--r--version.log6
3 files changed, 12 insertions, 2 deletions
diff --git a/Changes b/Changes
index d6f3235c6..1dbbc833a 100644
--- a/Changes
+++ b/Changes
@@ -52,6 +52,7 @@ Provided by Anope Dev. <dev@anope.org> - 2006
08/02 F Fixed very nasty typecast. GCC Hardened should now work. [#557]
08/03 F Corrected usermodes for ratbox and shadow. [#558]
08/04 F Various small fixes for Charybdis. [#561]
+08/04 F Autovoice for unregistered users works again. [#569]
Provided by ThaPrince <jon@vile.com> - 2006
05/19 A Plexus 3 support. [ #00]
diff --git a/src/channels.c b/src/channels.c
index b2f31ae5a..7df6c2089 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -1368,8 +1368,13 @@ void chan_set_correct_modes(User * user, Channel * c, int give_modes)
if (debug)
alog("debug: Setting correct user modes for %s on %s (current status: %d, %sgiving modes)", user->nick, c->name, status, (give_modes ? "" : "not "));
+ /* Changed the second line of this if a bit, to make sure unregistered
+ * users can always get modes (IE: they always have autoop enabled). Before
+ * this change, you were required to have a registered nick to be able
+ * to receive modes. I wonder who added that... *looks at Rob* ;) -GD
+ */
if (give_modes && (get_ignore(user->nick) == NULL)
- && (user->na && !(user->na->nc->flags & NI_AUTOOP))) {
+ && (!user->na || !(user->na->nc->flags & NI_AUTOOP))) {
if (ircd->owner && is_founder(user, ci))
add_modes |= CUS_OWNER;
else if ((ircd->protect || ircd->admin)
diff --git a/version.log b/version.log
index 7559c64ee..cc27243f1 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="14"
VERSION_EXTRA=""
-VERSION_BUILD="1107"
+VERSION_BUILD="1108"
# $Log$
#
+# BUILD : 1.7.14 (1108)
+# BUGS : 569
+# NOTES : Fixed giving modes for unregistered users :)
+#
# BUILD : 1.7.14 (1107)
# BUGS : 561
# NOTES : Various small fixes for charybdis