summaryrefslogtreecommitdiff
path: root/src/hooks.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hooks.h')
-rw-r--r--src/hooks.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hooks.h b/src/hooks.h
index da6fcf84..20c7750c 100644
--- a/src/hooks.h
+++ b/src/hooks.h
@@ -70,9 +70,9 @@ public:
list.remove(func);
}
- bool run_hooks(Data& item, bool post) {
+ bool run_hooks(Data& item) {
foreach (T * func, list)
- if (! (*func)(item, post))
+ if (! (*func)(item))
return false;
return true;
}