diff options
| author | Adam <Adam@anope.org> | 2011-06-17 19:57:43 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2011-06-17 19:57:43 -0400 |
| commit | a1b36ec0a527e6d7a9d224b56bf9571619d5f92e (patch) | |
| tree | 5e74290f46205ef1ad86700e1f04ec016b1f66fd /modules/extra/ns_maxemail.cpp | |
| parent | 48e995ddf2cd30a05222a51e665c02b1e7ae567a (diff) | |
Search all domains for language strings, fixes the mess that we used to use to translate strings in 3rd party modules
Diffstat (limited to 'modules/extra/ns_maxemail.cpp')
| -rw-r--r-- | modules/extra/ns_maxemail.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/extra/ns_maxemail.cpp b/modules/extra/ns_maxemail.cpp index e4c7ec8cc..25feffd79 100644 --- a/modules/extra/ns_maxemail.cpp +++ b/modules/extra/ns_maxemail.cpp @@ -28,9 +28,9 @@ class NSMaxEmail : public Module return false; if (this->NSEmailMax == 1) - this->SendMessage(source, _("The given email address has reached its usage limit of 1 user.")); + source.Reply(_("The given email address has reached its usage limit of 1 user.")); else - this->SendMessage(source, _("The given email address has reached its usage limit of %d users."), this->NSEmailMax); + source.Reply(_("The given email address has reached its usage limit of %d users."), this->NSEmailMax); return true; } |
