1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 21:43:13 +02:00

BUILD : 1.7.21 (1358) BUGS : 837 NOTES : Added a check for LogChannel when running with -logchan switch

git-svn-id: svn://svn.anope.org/anope/trunk@1358 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1073 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2008-01-26 10:20:45 +00:00
parent 1e23c7fdf0
commit 42b72b522f
3 changed files with 14 additions and 3 deletions
+1
View File
@@ -10,6 +10,7 @@ Anope Version S V N
01/26 F Various oddities in ChanServ suspend code. [#834]
01/26 F Channel walking for mass modes and restoring topics. [#835]
01/26 F Memory leaks in OperServ CLEARMODES. [#836]
01/26 F Check for LogChannel when running with -logchan option. [#837]
Provided by Jan Milants <jan_renee@msn.com> - 2008
01/16 F Server traversion with next_server() failed to list all servers. [#831]
+8 -2
View File
@@ -307,7 +307,7 @@ static int parse_options(int ac, char **av)
s = av[i];
if (atoi(s) <= 0) {
fprintf(stderr,
"-expire: number of seconds must be positive");
"-expire: number of seconds must be positive\n");
return -1;
} else
ExpireTimeout = atol(s);
@@ -322,7 +322,13 @@ static int parse_options(int ac, char **av)
} else if (strcmp(s, "nofork") == 0) {
nofork = 1;
} else if (strcmp(s, "logchan") == 0) {
logchan = 1;
if (!LogChannel) {
fprintf(stderr,
"-logchan: LogChannel must be defined in services.conf\n");
} else { /* LogChannel */
logchan = 1;
}
} else if (strcmp(s, "forceload") == 0) {
forceload = 1;
} else if (strcmp(s, "nothird") == 0) {
+5 -1
View File
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="21"
VERSION_EXTRA="-svn"
VERSION_BUILD="1357"
VERSION_BUILD="1358"
# $Log$
#
# BUILD : 1.7.21 (1358)
# BUGS : 837
# NOTES : Added a check for LogChannel when running with -logchan switch
#
# BUILD : 1.7.21 (1357)
# BUGS : 836
# NOTES : Fixed memleaks in os_clearmodes