named rmlast

This commit is contained in:
Luke Slater 2011-09-04 15:50:51 +01:00
parent ece8974659
commit 7071a7dac6

View File

@ -22,7 +22,7 @@ var quotes = function(dbot) {
if(q) { if(q) {
if(quotes.hasOwnProperty(q[1])) { if(quotes.hasOwnProperty(q[1])) {
var quote = quotes[q[1]].pop(); var quote = quotes[q[1]].pop();
dbot.say('\'' + quote + '\' removed from ' + q[1]); dbot.say(data.channel, '\'' + quote + '\' removed from ' + q[1]);
rmAllowed = false; rmAllowed = false;
} else { } else {
dbot.say(data.channel, 'No quotes exist under ' + q[1]); dbot.say(data.channel, 'No quotes exist under ' + q[1]);