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/cs_unban.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/cs_unban.cpp')
-rw-r--r-- | modules/core/cs_unban.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/core/cs_unban.cpp b/modules/core/cs_unban.cpp index 32f88b8bd..a681d1100 100644 --- a/modules/core/cs_unban.cpp +++ b/modules/core/cs_unban.cpp @@ -29,13 +29,13 @@ class CommandCSUnban : public Command if (!c) { - source.Reply(LanguageString::CHAN_X_NOT_IN_USE, ci->name.c_str()); + source.Reply(_(CHAN_X_NOT_IN_USE), ci->name.c_str()); return MOD_CONT; } if (!check_access(u, ci, CA_UNBAN)) { - source.Reply(LanguageString::ACCESS_DENIED); + source.Reply(_(ACCESS_DENIED)); return MOD_CONT; } @@ -45,7 +45,7 @@ class CommandCSUnban : public Command if (!u2) { - source.Reply(LanguageString::NICK_X_NOT_IN_USE, params[1].c_str()); + source.Reply(_(NICK_X_NOT_IN_USE), params[1].c_str()); return MOD_CONT; } |