diff --git a/modules/dent/config.json b/modules/dent/config.json index e5715fe..d631edd 100644 --- a/modules/dent/config.json +++ b/modules/dent/config.json @@ -3,5 +3,6 @@ "password": "yourpasswordhere", "dependencies": [ "link" ], "ignorable": true, - "dentQuotes": true + "dentQuotes": true, + "api": "http://quitter.se/" } diff --git a/modules/dent/dent.js b/modules/dent/dent.js index 2935edc..bf9bce3 100644 --- a/modules/dent/dent.js +++ b/modules/dent/dent.js @@ -21,7 +21,7 @@ var dent = function(dbot) { new Buffer(username + ":" + password).toString("base64"); request.post({ - 'url': 'http://identi.ca/api/statuses/update.json?status=' + + 'url': this.config.api + '/statuses/update.json?status=' + escape(content), 'headers': { 'Authorization': auth