diff options
author | Adam <Adam@anope.org> | 2011-02-26 17:54:03 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-02-26 17:54:03 -0500 |
commit | f234a2bfab8a4d900cfc0df91afed530d80738d4 (patch) | |
tree | 0224eb342a7d60cee86995bd87910f858d7a2e53 /modules/core/ns_access.cpp | |
parent | 28d17a40cef64783addf177fa30fb267db2cbde7 (diff) |
Replaced the few language strings we use with #defines to prevent accidentally translating them if we shouldnt
Diffstat (limited to 'modules/core/ns_access.cpp')
-rw-r--r-- | modules/core/ns_access.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/core/ns_access.cpp b/modules/core/ns_access.cpp index d79f189ca..bd637cbaa 100644 --- a/modules/core/ns_access.cpp +++ b/modules/core/ns_access.cpp @@ -29,7 +29,7 @@ class CommandNSAccess : public Command if (nc->HasFlag(NI_SUSPENDED)) { - source.Reply(LanguageString::NICK_X_SUSPENDED, nc->display.c_str()); + source.Reply(_(NICK_X_SUSPENDED), nc->display.c_str()); return MOD_CONT; } @@ -132,11 +132,11 @@ class CommandNSAccess : public Command if (!mask.empty() && mask.find('@') == Anope::string::npos) { - source.Reply(LanguageString::BAD_USERHOST_MASK); - source.Reply(LanguageString::MORE_INFO, Config->s_NickServ.c_str(), "ACCESS"); + source.Reply(_(BAD_USERHOST_MASK)); + source.Reply(_(MORE_INFO), Config->s_NickServ.c_str(), "ACCESS"); } else if (u->Account()->HasFlag(NI_SUSPENDED)) - source.Reply(LanguageString::NICK_X_SUSPENDED, u->Account()->display.c_str()); + source.Reply(_(NICK_X_SUSPENDED), u->Account()->display.c_str()); else if (cmd.equals_ci("ADD")) return this->DoAdd(source, u->Account(), mask); else if (cmd.equals_ci("DEL")) |