From a07daddccc39bdfe88ce9e20342936adecff830f Mon Sep 17 00:00:00 2001 From: reality Date: Tue, 31 Mar 2015 18:51:53 +0000 Subject: [PATCH] push --- modules/april/april.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/april/april.js b/modules/april/april.js index 4fa4c84..f2f3a46 100644 --- a/modules/april/april.js +++ b/modules/april/april.js @@ -2,9 +2,9 @@ var april = function(dbot) { this.listener = function(event) { var match = event.message.match(/^i'?( a)?m (an? )?([^ ]+)/i); if(match && event.channel == '#april') { - dbot.say(event.server, 'operserv', 'svsnick ' + event.user + ' ' + match[2]); + dbot.say(event.server, 'operserv', 'svsnick ' + event.user + ' ' + match[3]); setTimeout(function() { - event.reply('Hi ' + match[2] + ', I\'m tripbot!'); + event.reply('Hi ' + match[3] + ', I\'m tripbot!'); }, 1000); } }