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:
@@ -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"));
|
||||
|
||||
Reference in New Issue
Block a user