remove the bs formatting shit from run innit

This commit is contained in:
reality 2013-09-24 01:35:25 +00:00
parent 93915c7c5f
commit 9e98f2799d

14
run.js
View File

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