summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorchris <chris@jalakai.co.uk>2006-04-15 18:22:47 +0200
committerchris <chris@jalakai.co.uk>2006-04-15 18:22:47 +0200
commit8f4f35ecc495115b00825cf0483abd279f51c847 (patch)
tree5344495829921f98703e900adbb381cab579430f /inc
parent7ea0913c940324ef33e9b89d2468bde5d84da2e4 (diff)
downloadrpg-8f4f35ecc495115b00825cf0483abd279f51c847.tar.gz
rpg-8f4f35ecc495115b00825cf0483abd279f51c847.tar.bz2
event ACTION_TEMPLATE minor update
darcs-hash:20060415162247-9b6ab-d6c05736c0e4fb05331bc1cf06e48c5d61c64d5b.gz
Diffstat (limited to 'inc')
-rw-r--r--inc/template.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/inc/template.php b/inc/template.php
index 5e98526ff..12e4969f0 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -125,8 +125,7 @@ function tpl_content_core(){
break;
default:
$evt = new event('ACTION_TEMPLATE',$ACT);
- $evt->advise();
- if ($evt->_default)
+ if ($evt->advise())
msg("Failed to handle command: ".hsc($ACT),-1);
}
}