diff --git a/modules/quotes.js b/modules/quotes.js index 7e98d02..d34ef5f 100644 --- a/modules/quotes.js +++ b/modules/quotes.js @@ -17,7 +17,7 @@ var quotes = function(dbot) { }, '~rmlast': function(data, params) { - if(rmAllowed == true) { + if(rmAllowed == true || data.user == dbot.admin) { var q = data.message.valMatch(/^~rmlast ([\d\w\s]*)/, 2); if(q) { if(quotes.hasOwnProperty(q[1])) {