From e648068b1cae7e065d2d3c0df2926bc123bfd5b7 Mon Sep 17 00:00:00 2001 From: reality Date: Sat, 16 Feb 2013 18:07:41 +0000 Subject: [PATCH] change default lang to en so no crash --- run.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.js b/run.js index 48ad4d5..fadc12b 100644 --- a/run.js +++ b/run.js @@ -90,7 +90,7 @@ DBot.prototype.t = function(string, formatData) { if(_.has(this.strings, string)) { var lang = this.config.language; if(!_.has(this.strings[string], lang)) { - lang = "english"; + lang = "en"; } formattedString = this.strings[string][lang].format(formatData);