From 3347b67cea249075a5875bbfd0841b6d793b5e5c Mon Sep 17 00:00:00 2001 From: reality Date: Tue, 31 Mar 2015 18:48:57 +0000 Subject: [PATCH] optinal single quote --- 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 11fa6c4..d3ff4c2 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'?m (an? )?([^ ]+)$/i); if(match && event.channel == '#april') { dbot.say(event.server, 'operserv', 'svsnick ' + event.user + ' ' + match[2]); setTimeout(function() {