summaryrefslogtreecommitdiff
path: root/src/sessions.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-02-04 15:30:31 -0500
committerAdam <Adam@anope.org>2011-02-04 15:30:31 -0500
commit08583dc107974252312fb7c87532c9deb68e7f63 (patch)
tree0c42ec7422752cabd8352b49be976b4dc100c56c /src/sessions.cpp
parentc362a1e077d5ede9eadbe79483f2a755b5883e9a (diff)
Moved the language strings which are only used once
out of the core and into the modules that use them.
Diffstat (limited to 'src/sessions.cpp')
-rw-r--r--src/sessions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sessions.cpp b/src/sessions.cpp
index 7ff165346..d1b0fcfdd 100644
--- a/src/sessions.cpp
+++ b/src/sessions.cpp
@@ -257,13 +257,13 @@ int exception_add(User *u, const Anope::string &mask, unsigned limit, const Anop
{
e->limit = limit;
if (u)
- u->SendMessage(OperServ, OPER_EXCEPTION_CHANGED, mask.c_str(), e->limit);
+ u->SendMessage(OperServ, _("Exception for \002%s\002 has been updated to %d."), mask.c_str(), e->limit);
return -2;
}
else
{
if (u)
- u->SendMessage(OperServ, OPER_EXCEPTION_EXISTS, mask.c_str());
+ u->SendMessage(OperServ, _("\002%s\002 already exists on the EXCEPTION list."), mask.c_str());
return -1;
}
}