3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-24 03:33:07 +01:00

fucking dumbass

This commit is contained in:
reality 2013-08-25 16:13:07 +00:00
parent ecd30eb896
commit ec5ef85023

4
run.js
View File

@ -105,7 +105,7 @@ DBot.prototype.t = function(string, formatData) {
var module = this.stringMap[string];
// TODO: Create per-server support
if(this.config.enableColours) {
/*if(this.config.enableColours) {
var colours = this.config.colours;
_.each(formatData, function(str, key) {
if(_.has(colours, key)) {
@ -116,7 +116,7 @@ DBot.prototype.t = function(string, formatData) {
}
}
});
}
}*/
formattedString = this.strings[string][lang].format(formatData);
if(this.config.modules[module] && this.config.modules[module].outputPrefix) {