summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-02-19 15:55:31 +0000
committercertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-02-19 15:55:31 +0000
commit755f87ec420fb8886e79de9000d1ca39149e475c (patch)
tree5a0f889eeb71c56a15ea1e108d4fbdf13ccdae84
parent36a29e1b172e9a9eea58af2f6474a797535fed09 (diff)
BUILD : 1.7.13 (969) BUGS : NOTES : Fixed position of EVENT_ACCESS_DEL. HEADACHE!
git-svn-id: svn://svn.anope.org/anope/trunk@969 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@694 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes1
-rw-r--r--src/core/cs_access.c3
-rw-r--r--version.log6
3 files changed, 7 insertions, 3 deletions
diff --git a/Changes b/Changes
index eafd190e5..9ceb4e40b 100644
--- a/Changes
+++ b/Changes
@@ -7,6 +7,7 @@ Provided by Anope Dev. <dev@anope.org> - 2005
01/26 F Export buildStringList() for modules. [#425]
02/11 F Fixed a few memleaks. [#420]
02/17 F cs_getpass will now unload if encryption is enaled. [ #00]
+02/19 F Fixed position of EVENT_ACCESS_DEL. [ #00]
Provided by nenolod. <nenolod@nenolod.net> - 2005
02/03 A Support for Charybdis IRCd. [ #00]
diff --git a/src/core/cs_access.c b/src/core/cs_access.c
index 1f3d30fb8..454f3b875 100644
--- a/src/core/cs_access.c
+++ b/src/core/cs_access.c
@@ -314,8 +314,6 @@ int do_access(User * u)
deleted = 0;
notice_lang(s_ChanServ, u, PERMISSION_DENIED);
} else {
- send_event(EVENT_ACCESS_DEL, 3, ci->name, u->nick,
- na->nick);
notice_lang(s_ChanServ, u, CHAN_ACCESS_DELETED,
access->nc->display, ci->name);
alog("%s: %s!%s@%s (level %d) deleted access of %s (group %s) on %s", s_ChanServ, u->nick, u->username, u->host, get_access(u, ci), na->nick, access->nc->display, chan);
@@ -345,6 +343,7 @@ int do_access(User * u)
}
}
}
+ send_event(EVENT_ACCESS_DEL, 3, ci->name, u->nick, na->nick);
}
} else if (stricmp(cmd, "LIST") == 0) {
int sent_header = 0;
diff --git a/version.log b/version.log
index a92f12ef0..44e7a8e13 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="13"
VERSION_EXTRA="-svn"
-VERSION_BUILD="968"
+VERSION_BUILD="969"
# $Log$
#
+# BUILD : 1.7.13 (969)
+# BUGS :
+# NOTES : Fixed position of EVENT_ACCESS_DEL. HEADACHE!
+#
# BUILD : 1.7.13 (968)
# BUGS :
# NOTES : Fixed cs_getpass.c, thx to Trystan.