diff options
| -rw-r--r-- | Changes | 1 | ||||
| -rw-r--r-- | src/core/bs_fantasy.c | 9 | ||||
| -rw-r--r-- | version.log | 6 |
3 files changed, 15 insertions, 1 deletions
@@ -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. |
