From 45153a45d2cfa817a41a46563042e05378bd7bee Mon Sep 17 00:00:00 2001 From: reality Date: Mon, 11 Apr 2016 21:53:57 +0000 Subject: [PATCH] regex missing --- modules/kick/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/kick/commands.js b/modules/kick/commands.js index 218db9e..cf209d1 100644 --- a/modules/kick/commands.js +++ b/modules/kick/commands.js @@ -424,7 +424,7 @@ var commands = function(dbot) { commands['~nunban'].access = 'power_user'; commands['~ckick'].regex = /^ckick (#[^ ]+ )?([^ ]+) ?(.*)?$/; - commands['~nban'].regex = /^nban (\d[\d\.dhms]+)? ?([^ ]+) (.+)$/; + commands['~nban'].regex = /^nban (\d[\d\.dhmsy]+)? ?([^ ]+) (.+)$/; commands['~quiet'].regex = /^quiet (\d[\d\.hms]+)? ?(#[^ ]+ )?([^ ]+) ?(.*)?$/; commands['~timeout'].regex = /^timeout ([^ ]+) ?(.*)?$/; commands['~unquiet'].regex = /^unquiet (#[^ ]+ )?([^ ]+) ?$/;