diff --git a/modules/april/april.js b/modules/april/april.js index d3ff4c2..4fa4c84 100644 --- a/modules/april/april.js +++ b/modules/april/april.js @@ -1,6 +1,6 @@ var april = function(dbot) { this.listener = function(event) { - var match = event.message.match(/^i'?m (an? )?([^ ]+)$/i); + 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]); setTimeout(function() {