diff options
| author | DukePyrolator <DukePyrolator@anope.org> | 2011-03-26 08:20:05 +0100 |
|---|---|---|
| committer | DukePyrolator <DukePyrolator@anope.org> | 2011-03-26 08:20:05 +0100 |
| commit | 365769d14cb953657fe81167674a4d2d155e4a7e (patch) | |
| tree | d8221f2e8a3f3a7db2e0397b416bf9b9aea8252c /src/users.cpp | |
| parent | 01b901eba19ba5cf5e4220634f705a13c81acce8 (diff) | |
replaced all %R with %s in the language strings
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/users.cpp b/src/users.cpp index 01380f480..4d9246a14 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -236,11 +236,6 @@ void User::SendMessage(BotInfo *source, const char *fmt, ...) void User::SendMessage(BotInfo *source, Anope::string msg) { - if (Config->UseStrictPrivMsg) - msg = msg.replace_all_cs("%R", "/"); - else - msg = msg.replace_all_cs("%R", "/msg "); - /* Send privmsg instead of notice if: * - UsePrivmsg is enabled * - The user is not registered and NSDefMsg is enabled @@ -373,9 +368,9 @@ void User::Identify(NickAlias *na) this->SendMessage(NickServ, _("You must now supply an e-mail for your nick.\n" "This e-mail will allow you to retrieve your password in\n" "case you forget it.")); - this->SendMessage(NickServ, _("Type \002%R%s SET EMAIL \037e-mail\037\002 in order to set your e-mail.\n" + this->SendMessage(NickServ, _("Type \002%s%s SET EMAIL \037e-mail\037\002 in order to set your e-mail.\n" "Your privacy is respected; this e-mail won't be given to\n" - "any third-party person."), NickServ->nick.c_str()); + "any third-party person."), Config->UseStrictPrivMsgString.c_str(), NickServ->nick.c_str()); } if (na->nc->HasFlag(NI_UNCONFIRMED)) |
