1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 23:16:39 +02:00

Changed the language system to use gettext

This commit is contained in:
Adam
2010-09-26 02:33:01 -04:00
parent 05e6815d91
commit d646d455e2
239 changed files with 168730 additions and 90259 deletions
+2 -3
View File
@@ -11,7 +11,6 @@
#include "services.h"
#include "modules.h"
#include "language.h"
E void moduleAddHostServCmds();
@@ -170,8 +169,8 @@ void do_on_id(User *u)
u->UpdateHost();
if (!na->hostinfo.GetIdent().empty())
notice_lang(Config->s_HostServ, u, HOST_IDENT_ACTIVATED, na->hostinfo.GetIdent().c_str(), na->hostinfo.GetHost().c_str());
u->SendMessage(HostServ, HOST_IDENT_ACTIVATED, na->hostinfo.GetIdent().c_str(), na->hostinfo.GetHost().c_str());
else
notice_lang(Config->s_HostServ, u, HOST_ACTIVATED, na->hostinfo.GetHost().c_str());
u->SendMessage(HostServ, HOST_ACTIVATED, na->hostinfo.GetHost().c_str());
}
}