From 234afebf497452e8b7a21e7b29fec220a17af705 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Sat, 24 Sep 2011 18:49:43 +0100 Subject: [PATCH] incinerate --- modules/quotes.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/quotes.js b/modules/quotes.js index 86e749c..6c6d8b5 100644 --- a/modules/quotes.js +++ b/modules/quotes.js @@ -65,6 +65,8 @@ var quotes = function(dbot) { addStack.push(q[1]); rmAllowed = true; dbot.say(data.channel, 'Quote saved in \'' + q[1] + '\' (' + quotes[q[1]].length + ')'); + } else { + dbot.say(data.channel, 'Invalid syntax, initiate incineration.'); } },