Commit info for scoop/lib/Scoop/Admin:

Modified Files:
	Hooks.pm 
Log Message:
Make the "enabled" flag for hooks actually do something - hulver


Index: Hooks.pm
===================================================================
RCS file: /cvs/scoop/scoop/lib/Scoop/Admin/Hooks.pm,v
retrieving revision 1.6
retrieving revision 1.7
diff -r1.6 -r1.7
13,16c13,18
< 		if($func->{is_box}) {
< 			$return = $S->box_magic($fname, $hook, @_);
< 		} else {
< 			$return = $S->$fname($hook, @_);
---
> 		if ($func->{enabled}) {
> 			if($func->{is_box}) {
> 				$return = $S->box_magic($fname, $hook, @_);
> 			} else {
> 				$return = $S->$fname($hook, @_);
> 			}