From 135a4b421e31819dc5bf2c55504702375f03aca6 Mon Sep 17 00:00:00 2001 From: reality Date: Tue, 31 Mar 2015 18:36:08 +0000 Subject: [PATCH] oops --- modules/april/april.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/april/april.js b/modules/april/april.js index 3fc05be..585a086 100644 --- a/modules/april/april.js +++ b/modules/april/april.js @@ -2,7 +2,7 @@ var april = function(dbot) { this.listener = function(event) { var match = event.message.match(/^i'm (a )?([^ ]+)$/i); if(match && event.channel == '#april') { - dbot.say(event.server, 'operserv', 'svsnick ' + event.user + ' ' + match[1]); + dbot.say(event.server, 'operserv', 'svsnick ' + event.user + ' ' + match[2]); setTimeout(function() { event.reply('Hi ' + match[2] + ', I\'m tripbot!'); }, 1000);