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:
+1
-1
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user