From 552808601cc887e9aa9db59b6dbafcbb9010c162 Mon Sep 17 00:00:00 2001 From: Luigi Pinca Date: Mon, 23 Mar 2015 10:02:23 +0100 Subject: [PATCH] removed unneeded return statements --- public/js/app.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/js/app.js b/public/js/app.js index a216360..545032c 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -962,23 +962,23 @@ // Send a private message to a user var privateMessage = function(args, $outcome) { if ($.inArray(args[0], usersnicks) === -1) { - $outcome.text('(From binb): There\'s noone here by that name.'); + $outcome.text('(From binb): There\'s no one here by that name.'); return addChatEntry($outcome); } - return addPrivate(args[0]); + addPrivate(args[0]); }; // Reply to the last player who sent you a private message var replyToPrivate = function(args, $outcome) { if (!replyto) { - $outcome.text('(From binb): There\'s noone to reply to.'); + $outcome.text('(From binb): There\'s no one to reply to.'); return addChatEntry($outcome); } if ($.inArray(replyto, usersnicks) === -1) { $outcome.text('(From binb):' + replyto + ' isn\'t here anymore.'); return addChatEntry($outcome); } - return addPrivate(replyto); + addPrivate(replyto); }; // Unban a player -- 2.54.0