[SM-Commit] GIT changes to master sorcery by Jaka Kranjc (d0f8c06ed3d6d839ed05b137804ae9fd169fecdc)

Jaka Kranjc scm at sourcemage.org
Sat Jul 25 06:07:57 EDT 2009


GIT changes to master sorcery by Jaka Kranjc <lynxlynxlynx at sourcemage.org>:

 ChangeLog                          |    4 ----
 var/lib/sorcery/modules/libdepends |    3 +--
 2 files changed, 1 insertion(+), 6 deletions(-)

New commits:
commit d0f8c06ed3d6d839ed05b137804ae9fd169fecdc
Author: Jaka Kranjc <lynxlynxlynx at sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx at sourcemage.org>

    Revert "libdepends: made up_trigger explicitly default to the cast_self"
    
    there weren't any real use cases for this except for two mistakes
    
    This reverts commit c78008608262d0d2dc3380b1e27390eb46b856f8.

diff --git a/ChangeLog b/ChangeLog
index 67322bf..3a44456 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,3 @@
-2009-07-25 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
-	* libdepends: made up_trigger explicitly default to the cast_self
-	  action, so a proper message is displayed
-
 2009-07-19 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
 	* config: made BUILD_DIRECTORY ignore INSTALL_ROOT and user changeable,
 	  modified patch by eekee #15234
diff --git a/var/lib/sorcery/modules/libdepends b/var/lib/sorcery/modules/libdepends
index 416e143..6fe9b88 100755
--- a/var/lib/sorcery/modules/libdepends
+++ b/var/lib/sorcery/modules/libdepends
@@ -1368,10 +1368,9 @@ function select_provider()
 ## shorthand for putting a TRIGGERS file in the target spell.
 #---------------------------------------------------------------------
 function real_up_trigger() {
-  local action=${2:-cast_self}
   message  "${SPELL_COLOR}${SPELL}${DEFAULT_COLOR}" \
            "${CHECK_COLOR}triggers a${DEFAULT_COLOR}" \
-           "${SPELL_COLOR}${action}${DEFAULT_COLOR}" \
+           "${SPELL_COLOR}${2}${DEFAULT_COLOR}" \
            "${CHECK_COLOR}on${DEFAULT_COLOR}" \
            "${SPELL_COLOR}${1}${DEFAULT_COLOR}"
   private_up_trigger $SPELL "$1" "$2"



More information about the SM-Commit mailing list