1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 04:46:38 +02:00

Partial fix for finding gettext with CMake, still doesn't fix the lack of finding non-standard paths though.

This commit is contained in:
Naram Qashat
2010-09-26 15:35:24 -04:00
parent f3840ed110
commit 7db5e19f74
7 changed files with 12 additions and 14 deletions
+1 -1
View File
@@ -308,7 +308,7 @@ void Module::SendMessage(BotInfo *from, User *to, const char *fmt, ...)
language = Config->NSDefLanguage;
const char *message = fmt;
#if HAVE_GETTEXT
#if GETTEXT_FOUND
if (!language.empty())
{
setlocale(LC_ALL, language.c_str());