From 677a820638f69f60b509dfc165957a66219c5c06 Mon Sep 17 00:00:00 2001 From: reality Date: Fri, 12 Apr 2013 22:53:45 +0000 Subject: [PATCH] add web api function for getUrl instead of string in base, use externalAddress optional config key to define external behaviours [#264] --- modules/poll/commands.js | 8 +++----- modules/profile/commands.js | 2 +- modules/quotes/commands.js | 7 +------ modules/web/config.json | 3 ++- modules/web/web.js | 12 +++++++++++- strings.json | 3 --- 6 files changed, 18 insertions(+), 17 deletions(-) diff --git a/modules/poll/commands.js b/modules/poll/commands.js index ac36252..15db188 100644 --- a/modules/poll/commands.js +++ b/modules/poll/commands.js @@ -21,14 +21,12 @@ var commands = function(dbot) { for(var i=0;i