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-08-08 18:41:42 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2007-08-08 18:41:42 +0000
commitf3d98aecbcb916ecfb5bbfc35c0d39b842021afa (patch)
tree45c61f89ad57be91f27c0d9aaacb2f9890e55564
parentd20ad8e18001a93ca4afcd57ade4013821b3ec62 (diff)
BUILD : 1.7.19 (1262) BUGS : 727 NOTES : Fixed DefConChanModes being re-set while being unset
git-svn-id: svn://svn.anope.org/anope/trunk@1262 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@980 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes1
-rw-r--r--src/operserv.c2
-rw-r--r--version.log6
3 files changed, 7 insertions, 2 deletions
diff --git a/Changes b/Changes
index 99c866458..f9aa8c4e4 100644
--- a/Changes
+++ b/Changes
@@ -11,6 +11,7 @@ Anope Version S V N
07/14 F No longer displaying commands on add/remove in debug mode 1. [ #00]
08/05 F ChanServ access level AUTODEOP works again. [#750]
08/08 F Wrong debug notice when killing people due to the session limit. [#734]
+08/08 F DefCon modes being re-set after mass-unset when leaving DefCon. [#727]
Anope Version 1.7.19
--------------------
diff --git a/src/operserv.c b/src/operserv.c
index 55bc0d023..1e6bfd47c 100644
--- a/src/operserv.c
+++ b/src/operserv.c
@@ -1632,12 +1632,12 @@ void runDefCon(void)
} else {
if (DefConChanModes && (DefConModesSet != 0)) {
if (DefConChanModes[0] == '+' || DefConChanModes[0] == '-') {
+ DefConModesSet = 0;
if ((newmodes = defconReverseModes(DefConChanModes))) {
alog("DEFCON: setting %s on all chan's", newmodes);
do_mass_mode(newmodes);
free(newmodes);
}
- DefConModesSet = 0;
}
}
}
diff --git a/version.log b/version.log
index ea1afc067..d5039910a 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="1260"
+VERSION_BUILD="1262"
# $Log$
#
+# BUILD : 1.7.19 (1262)
+# BUGS : 727
+# NOTES : Fixed DefConChanModes being re-set while being unset
+#
# BUILD : 1.7.19 (1260)
# BUGS : 734
# NOTES : Fixed a false debug notice claiming the killed user did not exist when it was killed due to a session limit exceeded