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

BUILD : 1.7.19 (1256) BUGS : NOTES : Moved the displaying of command infos on command add/remove to debug level 2 instead of 1

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


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@975 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2007-07-14 08:10:22 +00:00
parent e873466498
commit 945b51b780
3 changed files with 10 additions and 5 deletions
+1
View File
@@ -8,6 +8,7 @@ Anope Version S V N
07/09 F GlobalOnCycle notices being sent to Anope itself or juped servers.[#737]
07/09 F Possible buffer overflow in inspircd10.c [#741]
07/09 F Various compile errors with `make strict`. [#743]
07/14 F No longer displaying commands on add/remove in debug mode 1. [ #00]
Anope Version 1.7.19
--------------------
+4 -4
View File
@@ -1073,10 +1073,10 @@ int moduleAddCommand(CommandHash * cmdTable[], Command * c, int pos)
} else
c->service = sstrdup("Unknown");
if (debug)
if (debug >= 2)
displayCommandFromHash(cmdTable, c->name);
status = addCommand(cmdTable, c, pos);
if (debug)
if (debug >= 2)
displayCommandFromHash(cmdTable, c->name);
if (status != MOD_ERR_OK) {
alog("ERROR! [%d]", status);
@@ -1109,11 +1109,11 @@ int moduleDelCommand(CommandHash * cmdTable[], char *name)
for (cmd = c; cmd; cmd = cmd->next) {
if (cmd->mod_name
&& stricmp(cmd->mod_name, mod_current_module->name) == 0) {
if (debug) {
if (debug >= 2) {
displayCommandFromHash(cmdTable, name);
}
status = delCommand(cmdTable, cmd, mod_current_module->name);
if (debug) {
if (debug >= 2) {
displayCommandFromHash(cmdTable, name);
}
}
+5 -1
View File
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="19"
VERSION_EXTRA="-svn"
VERSION_BUILD="1255"
VERSION_BUILD="1256"
# $Log$
#
# BUILD : 1.7.19 (1256)
# BUGS :
# NOTES : Moved the displaying of command infos on command add/remove to debug level 2 instead of 1
#
# BUILD : 1.7.19 (1255)
# BUGS : 743
# NOTES : Fixed various compile errors with `make strict`