Skip to content

Node.js based forum software built for the modern web

Re: #6425

Julian Lamfbf52407fd69
diff --git a/src/controllers/accounts/helpers.js b/src/controllers/accounts/helpers.js
index 64170ce39d..ae73b817e8 100644
--- a/src/controllers/accounts/helpers.js
+++ b/src/controllers/accounts/helpers.js
@@ -98,7 +98,7 @@ helpers.getUserDataByUserSlug = function (userslug, callerUID, callback) {
userData.fullname = '';
}
- if (isAdmin || isSelf || (isGlobalModerator && !results.isTargetAdmin)) {
+ if (isAdmin || isSelf || ((isGlobalModerator || isModerator) && !results.isTargetAdmin)) {
userData.ips = results.ips;
}