summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-07-15 11:53:35 +0000
committercertus certus@31f1291d-b8d6-0310-a050-a5561fc1590b <certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-07-15 11:53:35 +0000
commit6b5b5084d01fec461403e8e80dc3aedf3b4eb5f1 (patch)
tree61132be8a079aad1d4d7cf1e57278e6f57992a39
parentbf547b2d30a23985fdacbcf2c7104476a2edb522 (diff)
# BUILD : 1.7.14 (1091) # BUGS : 534 # NOTES : applied trystan's fantasy patch.
git-svn-id: svn://svn.anope.org/anope/trunk@1091 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@815 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes1
-rw-r--r--src/core/bs_fantasy.c9
-rw-r--r--version.log6
3 files changed, 15 insertions, 1 deletions
diff --git a/Changes b/Changes
index a8fc77d45..04878bc5e 100644
--- a/Changes
+++ b/Changes
@@ -55,6 +55,7 @@ Provided by Trystan <trystan@nomadirc.net> - 2006
07/02 F Fixed module version stuff. [#531]
07/14 F Another version fix. [#545]
07/15 F Fixed max param count for SJOINs. [#549]
+07/15 F Fixed !halfop fantasy stuff. [#534]
07/14 A Added anope_cmd_action() and new param for EVENT_PART_CHANNEL. [#550]
Anope Version 1.7.14
diff --git a/src/core/bs_fantasy.c b/src/core/bs_fantasy.c
index 9ea3fe402..7f2ef9e87 100644
--- a/src/core/bs_fantasy.c
+++ b/src/core/bs_fantasy.c
@@ -62,6 +62,15 @@ int do_fantasy(int argc, char **argv)
do {
if (stricmp(argv[0], util->bsname) == 0) {
+ /* This could have been moved to its own module
+ however it would require more coding to handle the pass holders
+ similar to how PROTECT is done
+ */
+ if (!ircd->halfop) {
+ if (!stricmp(argv[0], "halfop") || !stricmp(argv[0], "dehalfop")) {
+ return MOD_CONT;
+ }
+ }
u = finduser(argv[1]);
ci = cs_findchan(argv[2]);
if (!u || !ci)
diff --git a/version.log b/version.log
index 08632dd2f..732671972 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="14"
VERSION_EXTRA=""
-VERSION_BUILD="1090"
+VERSION_BUILD="1091"
# $Log$
#
+# BUILD : 1.7.14 (1091)
+# BUGS : 534
+# NOTES : applied trystan's fantasy patch.
+#
# BUILD : 1.7.14 (1090)
# BUGS : 538
# NOTES : added BOT_LONG_IDENT.