diff --git a/plugins/pilot/util.js b/plugins/pilot/util.js index 0ae29c9e..662e69bd 100644 --- a/plugins/pilot/util.js +++ b/plugins/pilot/util.js @@ -260,21 +260,6 @@ exports.makeArray = function(number, character) { return newArray; }; -/** - * Repeat a string a given number of times. - * @param string String to repeat - * @param repeat Number of times to repeat - */ -exports.repeatString = function(string, repeat) { - var newstring = ''; - - for (var i = 0; i < repeat; i++) { - newstring += string; - } - - return newstring; -}; - /** * Given a row, find the number of leading spaces. * E.g. an array with the string " aposjd" would return 2