From 00dbe563bd5590b7760ad3fcc5bb73005af62f55 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Wed, 12 Oct 2011 21:30:48 +0100 Subject: [PATCH] modehate message --- modules/admin.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/admin.js b/modules/admin.js index f9d42f0..bb44748 100644 --- a/modules/admin.js +++ b/modules/admin.js @@ -64,7 +64,8 @@ var adminCommands = function(dbot) { }, 'modehate': function(data, params) { - dbot.db.modehate.push(params[2]); + dbot.db.modehate.push(params[1]); + dbot.say(data.channel, 'Now modehating on ' + params[1]); } };