1
0
mirror of https://github.com/anope/anope.git synced 2026-07-03 14:53:13 +02:00

Fixup ecdd046c80 to compile

This commit is contained in:
Adam
2015-12-13 19:52:50 -05:00
parent 99282e65a6
commit 7ce0eb219b
+3 -3
View File
@@ -555,9 +555,9 @@ class CSAKick : public Module
reason = autokick->reason;
if (reason.empty())
{
reason = Language::Translate(u, Config->GetModule(this)->Get<const Anope::string>("autokickreason").c_str())
.replace_all_cs("%n", u->nick)
.replace_all_cs("%c", c->name);
reason = Language::Translate(u, Config->GetModule(this)->Get<const Anope::string>("autokickreason").c_str());
reason = reason.replace_all_cs("%n", u->nick)
.replace_all_cs("%c", c->name);
}
if (reason.empty())
reason = Language::Translate(u, _("User has been banned from the channel"));