Skip to content

Node.js based forum software built for the modern web

added a hook I didn't end up needing, but here it is anyway `filter:posts.modifyUserInfo`

psychobunny6844c828cac0
diff --git a/src/posts.js b/src/posts.js
index 06216f0d07..a31661066d 100644
--- a/src/posts.js
+++ b/src/posts.js
@@ -211,7 +211,8 @@ var async = require('async'),
}
userData.signature = results.signature;
userData.custom_profile_info = results.customProfileInfo.profile;
- next(null, userData);
+
+ plugins.fireHook('filter:posts.modifyUserInfo', userData, next);
});
}, callback);
});