diff options
author | viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b <viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-01 01:00:25 +0000 |
---|---|---|
committer | viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b <viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-01 01:00:25 +0000 |
commit | 90833c2ba1f8a8e3d2fa3a014f6d114a064b2494 (patch) | |
tree | 92efe17d4ee3db6099cd0fc4fbe36bc6701a8869 | |
parent | 4c9f2c89b5172f5e7dcf1657afd704eb0bd7f2fd (diff) |
BUILD : 1.7.21 (1423) BUGS : 932 NOTES : Fixed crashbug in cs_access.
git-svn-id: svn://svn.anope.org/anope/trunk@1423 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1138 5417fbe8-f217-4b02-8779-1006273d7864
-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 |