aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--twittperator.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/twittperator.js b/twittperator.js
index 969bd56..7b6da40 100644
--- a/twittperator.js
+++ b/twittperator.js
@@ -1855,10 +1855,9 @@ let PLUGIN_INFO =
}
}, // }}}
withProtectedUserConfirmation: function(check, actionName, action) { // {{{
- let protectedUserName = Twittperator.isProtected(check);
- if (protectedUserName) {
+ if (Twittperator.isProtected(check)) {
Twittperator.confirm(
- protectedUserName + " is protected user! Do you really want to " + actionName + '?',
+ check.screenName + " is protected user! Do you really want to " + actionName + '?',
action
);
} else {