From 34e9f9b036ee1d61a27702721a0698a4de7e32f9 Mon Sep 17 00:00:00 2001 From: Luke Slater Date: Fri, 26 Aug 2011 12:45:04 +0100 Subject: [PATCH] Whoops, switch qset to valmatch --- modules/user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/user.js b/modules/user.js index 244a656..799dedb 100644 --- a/modules/user.js +++ b/modules/user.js @@ -24,7 +24,7 @@ var userCommands = function(dbot) { }, '~qset': function(data, params) { - var q = data.message.match(/^~qset ([\d\w\s]*)=(.+)$/, 3); + var q = data.message.valMatch(/^~qset ([\d\w\s]*)=(.+)$/, 3); if(q) { dbot.say(data.channel, dbot.quotes.set(q)); } else {