Skip to content

Node.js based forum software built for the modern web

correct object

Steve Lacy2d238e61acd7
diff --git a/src/user/profile.js b/src/user/profile.js
index 1c872fb268..e8251b73e7 100644
--- a/src/user/profile.js
+++ b/src/user/profile.js
@@ -16,7 +16,7 @@ module.exports = function(User) {
User.updateProfile = function(uid, data, callback) {
- plugins.fireHook('filter:user.updateProfile', {uid: uid, settings: data.settings}, function(err, data) {
+ plugins.fireHook('filter:user.updateProfile', {uid: uid, settings: data}, function(err, data) {
if(err) {
return callback(err);
}