mirror of
https://github.com/anope/anope.git
synced 2026-06-29 18:56:37 +02:00
Fixed replacing %R's in email messages and fixed anopesmtp to really work
This commit is contained in:
@@ -253,11 +253,6 @@ void User::SendMessage(BotInfo *source, LanguageString message, ...) const
|
||||
|
||||
Anope::string m = GetString(this, message);
|
||||
|
||||
if (Config->UseStrictPrivMsg)
|
||||
m = m.replace_all_cs("%R", "/");
|
||||
else
|
||||
m = m.replace_all_cs("%R", "/msg ");
|
||||
|
||||
m = m.replace_all_cs("%S", source->nick);
|
||||
|
||||
if (m.length() >= 4096)
|
||||
|
||||
Reference in New Issue
Block a user