diff options
author | Peter Powell <petpow@saberuk.com> | 2013-07-10 14:50:26 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2013-08-10 14:04:09 +0100 |
commit | 4509cbcc0b57f9f397af26f5e8dbe629499c2b24 (patch) | |
tree | 556c99242d21eec590fe8f8fb7d8315f0cd21aea /src/xline.cpp | |
parent | 86f650e6b8c969b31fae65ea1143644723279b82 (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.cpp | 4 |
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()); |