From 57742d13f25621436a593fe7f22afdff30cea682 Mon Sep 17 00:00:00 2001 From: reality Date: Sat, 6 Sep 2014 18:43:26 +0000 Subject: [PATCH] fix flag regex --- modules/atheme/atheme.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/atheme/atheme.js b/modules/atheme/atheme.js index d3d61f4..1f87a83 100644 --- a/modules/atheme/atheme.js +++ b/modules/atheme/atheme.js @@ -53,7 +53,7 @@ var atheme = function(dbot) { this.listener = function(event) { if(event.user === 'ChanServ') { - var flags = event.params.match(/(\d+)\s+([^ ]+)\s+(\+\w+)\s+\((\#\w+)\)/), + var flags = event.params.match(/(\d+)\s+([^ ]+)\s+(\+\w+)\s+\((\#[\w\.]+)\)/), end = event.params.match(/end of \u0002(\#\w+)\u0002 flags listing/i); if(flags && _.has(this.flagStack[event.server], flags[4])) {