summaryrefslogtreecommitdiff
path: root/src/xline.cpp
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-07-10 14:50:26 +0100
committerPeter Powell <petpow@saberuk.com>2013-08-10 14:04:09 +0100
commit4509cbcc0b57f9f397af26f5e8dbe629499c2b24 (patch)
tree556c99242d21eec590fe8f8fb7d8315f0cd21aea /src/xline.cpp
parent86f650e6b8c969b31fae65ea1143644723279b82 (diff)
Rename <options:moronbanner> to <options:xlinemessage>.
This name is more descriptive of what is actually is used for.
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index 44ae1e98e..bc8e596bd 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -533,8 +533,8 @@ void XLine::DefaultApply(User* u, const std::string &line, bool bancache)
{
const std::string banReason = line + "-Lined: " + reason;
- if (!ServerInstance->Config->MoronBanner.empty())
- u->WriteNotice("*** " + ServerInstance->Config->MoronBanner);
+ if (!ServerInstance->Config->XLineMessage.empty())
+ u->WriteNotice("*** " + ServerInstance->Config->XLineMessage);
if (ServerInstance->Config->HideBans)
ServerInstance->Users->QuitUser(u, line + "-Lined", banReason.c_str());