summaryrefslogtreecommitdiff
path: root/src/module.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-05-06 21:43:50 -0400
committerAdam <Adam@anope.org>2012-05-06 21:43:50 -0400
commit675b113c3e03cf1917b2a731c21fe82b5f1f2b2b (patch)
tree6a80aaeafa829a3cef5c41c938d92ffedd1bdad8 /src/module.cpp
parenteb0e07d5645c06eb034cfcfbf91883158ba9dc00 (diff)
Split up db/conf/lib/locale install directories, and allow alternate ones to be specified at runtime
Diffstat (limited to 'src/module.cpp')
-rw-r--r--src/module.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.cpp b/src/module.cpp
index 8a253042a..c08d25aff 100644
--- a/src/module.cpp
+++ b/src/module.cpp
@@ -35,7 +35,7 @@ Module::Module(const Anope::string &modname, const Anope::string &, ModType modt
for (unsigned i = 0; i < languages.size(); ++i)
if (IsFile("languages/" + languages[i] + "/LC_MESSAGES/" + modname + ".mo"))
{
- if (!bindtextdomain(this->name.c_str(), (services_dir + "/languages/").c_str()))
+ if (!bindtextdomain(this->name.c_str(), locale_dir.c_str()))
Log() << "Error calling bindtextdomain, " << Anope::LastError();
else
domains.push_back(modname);