summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-05-24 13:49:53 +0000
committerdane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-05-24 13:49:53 +0000
commitd5b6d250d5456bd62a743c6058358d900a4d0d4b (patch)
tree5e35967b1283c7e6b85324140b9ae6c9086c12b8
parent09ca64b8899f8c11ee06271f04f0c3dbeb7bebe6 (diff)
BUILD : 1.7.3 (121) BUGS : 69 NOTES : Cleaned up compile errors on older compilers.
git-svn-id: svn://svn.anope.org/anope/trunk@121 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@95 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes1
-rw-r--r--chanserv.c13
-rw-r--r--version.log6
3 files changed, 12 insertions, 8 deletions
diff --git a/Changes b/Changes
index 7c7e8653e..c32f44b24 100644
--- a/Changes
+++ b/Changes
@@ -3,6 +3,7 @@ Anope Version S V N
Provided by Anope Dev. <dev@anope.org> - 2004
05/21 A Auto enforce upon AKICK addition. [ #63]
05/21 A New file docs/OLDCHANGES contains all change history. [ #65]
+05/24 F Cleaned up compile errors on older compilers. [ #69]
05/21 F Removed threads.c file. [ #64]
05/21 F Check for VHOST capable ircd on HostServAlias induction. [ #56]
05/21 F Allow /CS SUSPEND on registered channels only. [ #54]
diff --git a/chanserv.c b/chanserv.c
index fcb24d590..c92492088 100644
--- a/chanserv.c
+++ b/chanserv.c
@@ -4373,6 +4373,11 @@ static int do_akick(User * u)
ChannelInfo *ci;
AutoKick *akick;
int i;
+ Channel *c;
+ struct c_userlist *cu = NULL;
+ struct c_userlist *next;
+ char *argv[3];
+ int count = 0;
if (!cmd || (!mask && (!stricmp(cmd, "ADD") || !stricmp(cmd, "STICK")
|| !stricmp(cmd, "UNSTICK")
@@ -4465,12 +4470,7 @@ static int do_akick(User * u)
}
/* Auto ENFORCE #63 */
- Channel *c = findchan(ci->name);
- struct c_userlist *cu = NULL;
- struct c_userlist *next;
- char *argv[3];
- int count = 0;
-
+ c = findchan(ci->name);
if (c) {
cu = c->users;
while (cu) {
@@ -4491,7 +4491,6 @@ static int do_akick(User * u)
cu = next;
}
}
-
notice_lang(s_ChanServ, u, CHAN_AKICK_ADDED, mask, chan);
if (count)
diff --git a/version.log b/version.log
index 0105fb465..8d4b45f69 100644
--- a/version.log
+++ b/version.log
@@ -8,10 +8,14 @@
VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="3"
-VERSION_BUILD="120"
+VERSION_BUILD="121"
# $Log$
#
+# BUILD : 1.7.3 (121)
+# BUGS : 69
+# NOTES : Cleaned up compile errors on older compilers.
+#
# BUILD : 1.7.3 (120)
# BUGS : 50
# NOTES : Reserved nicks (Q-lined) will be KILLed if taken on induction.