diff options
| author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-08-04 10:05:03 +0000 |
|---|---|---|
| committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-08-04 10:05:03 +0000 |
| commit | b374f97711d21ac7965cfc9db9cf4e0e02029546 (patch) | |
| tree | 4b543ceeead38fdc9a431f2e11276fcca5dff23f | |
| parent | 9e136a5c2f0da111ef873b9eaa1ebccebd1f1eb2 (diff) | |
BUILD : 1.7.14 (1108) BUGS : 569 NOTES : Fixed giving modes for unregistered users :)
git-svn-id: svn://svn.anope.org/anope/trunk@1108 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@832 5417fbe8-f217-4b02-8779-1006273d7864
| -rw-r--r-- | Changes | 1 | ||||
| -rw-r--r-- | src/channels.c | 7 | ||||
| -rw-r--r-- | version.log | 6 |
3 files changed, 12 insertions, 2 deletions
@@ -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 |
