mirror of
https://github.com/anope/anope.git
synced 2026-07-07 14:43:14 +02:00
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
This commit is contained in:
parent
4c9f2c89b5
commit
90833c2ba1
@@ -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]
|
||||
|
||||
@@ -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);
|
||||
|
||||
+6
-4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user