diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2011-03-13 03:38:42 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-03-13 03:38:42 -0400 |
commit | 15a833283b0ec501f8c986b269b8360c6aa923f9 (patch) | |
tree | 49591f9ef1ddb970cb752238611ad15206837e3a | |
parent | 5a0d04bb8159ed84222ee94e5d00fd0262e5aee3 (diff) |
Set the locale to the default system locale on startup
-rw-r--r-- | src/language.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/language.cpp b/src/language.cpp index 6ae4eb10d..8a08ebdcc 100644 --- a/src/language.cpp +++ b/src/language.cpp @@ -27,6 +27,8 @@ void InitLanguages() Log() << "Error calling bindtextdomain, " << Anope::LastError(); else Log(LOG_DEBUG) << "Successfully bound anope to " << services_dir << "/languages/"; + + setlocale(LC_ALL, ""); #else Log() << "Can not load languages, gettext is not installed"; #endif |