diff options
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/core/cs_access.c | 3 | ||||
-rw-r--r-- | version.log | 10 |
3 files changed, 9 insertions, 5 deletions
@@ -52,6 +52,7 @@ Anope Version S V N 08/28 F Fixed several language & help related errors. [#875] 08/28 F Replaced static count in login/opernews help. [#882] 08/28 F Updated help on ChanServ AKICK. [#879] +09/01 F Fixed crashbug in cs_access. [#932] Provided by Robin Burchell <w00t@inspircd.org> - 2008 08/08 F Strict warnings in send.c from comparing address of non-ptr [ #00] diff --git a/src/core/cs_access.c b/src/core/cs_access.c index d46c8c397..f36dda0a0 100644 --- a/src/core/cs_access.c +++ b/src/core/cs_access.c @@ -73,13 +73,14 @@ void myChanServHelp(User * u) static int access_del(User * u, ChannelInfo *ci, ChanAccess * access, int *perm, int uacc) { - char *nick = access->nc->display; + char *nick; if (!access->in_use) return 0; if (!is_services_admin(u) && uacc <= access->level) { (*perm)++; return 0; } + nick = access->nc->display; access->nc = NULL; access->in_use = 0; send_event(EVENT_ACCESS_DEL, 3, ci->name, u->nick, nick); diff --git a/version.log b/version.log index e5f8077c8..b9ca9ac57 100644 --- a/version.log +++ b/version.log @@ -9,15 +9,17 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="21" VERSION_EXTRA="-svn" -VERSION_BUILD="1422" +VERSION_BUILD="1423" # $Log$ # +# BUILD : 1.7.21 (1423) +# BUGS : 932 +# NOTES : Fixed crashbug in cs_access. +# # BUILD : 1.7.21 (1422) # BUGS : 927 -# NOTES : Fixes compiling on windows. We should define new variables -# above the code not in between. -# +# NOTES : Fixes compiling on windows. We should define new variables above the code not in between. # # BUILD : 1.7.21 (1421) # BUGS : 879 |