From d5b6d250d5456bd62a743c6058358d900a4d0d4b Mon Sep 17 00:00:00 2001 From: "dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Mon, 24 May 2004 13:49:53 +0000 Subject: 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 --- Changes | 1 + chanserv.c | 13 ++++++------- version.log | 6 +++++- 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. - 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. -- cgit