From 1b50a3583ccbb1fe2ba115cc2e85fb39c7153ccf Mon Sep 17 00:00:00 2001 From: reality Date: Mon, 29 Jul 2013 20:50:48 +0000 Subject: [PATCH] fix the whatsit --- modules/warning/pages.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/warning/pages.js b/modules/warning/pages.js index 72c5129..876250f 100644 --- a/modules/warning/pages.js +++ b/modules/warning/pages.js @@ -35,9 +35,9 @@ var pages = function(dbot) { }); }, - '/warning/:server/:user': function(req, res) { + '/warning/:server/:uid': function(req, res) { var server = req.params.server, - user = req.params.user; + user = req.params.uid; dbot.api.users.resolveUser(server, user, function(user) { var warnings = [];