summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-09-26 02:33:01 -0400
committerAdam <Adam@anope.org>2010-09-26 02:33:01 -0400
commitd646d455e2655be59f6d5bcc56710ac70548ca37 (patch)
treed236b9d4991d62538a0318f213416396734e72e0 /src/regchannel.cpp
parent05e6815d912f0418f6da25a2106dd718796f02fa (diff)
Changed the language system to use gettext
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r--src/regchannel.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index ad9a0eac7..4948f7157 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -11,7 +11,6 @@
#include "services.h"
#include "modules.h"
-#include "language.h"
/** Default constructor
* @param chname The channel name
@@ -560,7 +559,7 @@ bool ChannelInfo::CheckKick(User *user)
if (!is_oper(user) && (this->HasFlag(CI_SUSPENDED) || this->HasFlag(CI_FORBIDDEN)))
{
get_idealban(this, user, mask);
- reason = this->forbidreason.empty() ? getstring(user, CHAN_MAY_NOT_BE_USED) : this->forbidreason;
+ reason = this->forbidreason.empty() ? GetString(user, CHAN_MAY_NOT_BE_USED) : this->forbidreason;
set_modes = true;
do_kick = true;
}
@@ -594,7 +593,7 @@ bool ChannelInfo::CheckKick(User *user)
if (!do_kick && check_access(user, this, CA_NOJOIN))
{
get_idealban(this, user, mask);
- reason = getstring(user, CHAN_NOT_ALLOWED_TO_JOIN);
+ reason = GetString(user, CHAN_NOT_ALLOWED_TO_JOIN);
do_kick = true;
}