Skip to content

Node.js based forum software built for the modern web

send topicData on action:topic.delete

Raphael Beerd8c329cadd7e
diff --git a/src/threadTools.js b/src/threadTools.js
index c98e62dbcc..1b5c71451a 100644
--- a/src/threadTools.js
+++ b/src/threadTools.js
@@ -39,7 +39,7 @@ var async = require('async'),
topicData.deleted = isDelete ? 1 : 0;
if (isDelete) {
- plugins.fireHook('action:topic.delete', tid);
+ plugins.fireHook('action:topic.delete', topicData);
} else {
plugins.fireHook('action:topic.restore', topicData);
}