summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2007-07-14 08:10:22 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2007-07-14 08:10:22 +0000
commit945b51b780fe8df0acabd692868ec5f8858dca09 (patch)
treee1dc3d2d5f7feba995ddc63dbefbcf448faf400b
parente87346649818cbe2290b186a0d6ef9636675de1b (diff)
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
-rw-r--r--Changes1
-rw-r--r--src/modules.c8
-rw-r--r--version.log6
3 files changed, 10 insertions, 5 deletions
diff --git a/Changes b/Changes
index c9e4c6eff..675d10403 100644
--- a/Changes
+++ b/Changes
@@ -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
--------------------
diff --git a/src/modules.c b/src/modules.c
index 70d4621c5..b6b74eec1 100644
--- a/src/modules.c
+++ b/src/modules.c
@@ -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);
}
}
diff --git a/version.log b/version.log
index 31602c720..ff726209d 100644
--- a/version.log
+++ b/version.log
@@ -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`