diff --git a/modules/april/april.js b/modules/april/april.js index f2f3a46..41b69eb 100644 --- a/modules/april/april.js +++ b/modules/april/april.js @@ -1,10 +1,10 @@ var april = function(dbot) { this.listener = function(event) { var match = event.message.match(/^i'?( a)?m (an? )?([^ ]+)/i); - if(match && event.channel == '#april') { + if(match) { dbot.say(event.server, 'operserv', 'svsnick ' + event.user + ' ' + match[3]); setTimeout(function() { - event.reply('Hi ' + match[3] + ', I\'m tripbot!'); + event.reply('Hi ' + match[3] + ', I\'m ' + dbot.config.name); }, 1000); } }