3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00

Update pages.js

This commit is contained in:
Luke Slater 2015-04-14 01:50:37 +03:00
parent 8da13c35a7
commit 7376c380e7

View File

@ -10,7 +10,6 @@ var pages = function(dbot) {
'name': dbot.config.name, 'name': dbot.config.name,
'servers': _.keys(dbot.config.servers) 'servers': _.keys(dbot.config.servers)
}); });
console.log('YE');
}, },
'/warning/:server': function(req, res) { '/warning/:server': function(req, res) {
@ -43,7 +42,6 @@ console.log('YE');
'/warning/:server/:uid': function(req, res) { '/warning/:server/:uid': function(req, res) {
var server = req.params.server, var server = req.params.server,
user = req.params.uid; user = req.params.uid;
console.log('YE YE');
dbot.api.users.resolveUser(server, user, function(err, user) { dbot.api.users.resolveUser(server, user, function(err, user) {
var warnings = []; var warnings = [];