From 489ba0ad54bf6bdd80d5f539f67f03241ddfe77b Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Sun, 6 Dec 2015 11:09:03 +0100 Subject: Remove entirely --- src/configreader.cpp | 3 +-- src/coremods/core_privmsg.cpp | 9 +-------- 2 files changed, 2 insertions(+), 10 deletions(-) (limited to 'src') diff --git a/src/configreader.cpp b/src/configreader.cpp index a81a1b646..092911c74 100644 --- a/src/configreader.cpp +++ b/src/configreader.cpp @@ -55,7 +55,7 @@ ServerConfig::ServerConfig() , Limits(EmptyTag) , NoSnoticeStack(false) { - RawLog = HideBans = HideSplits = UndernetMsgPrefix = false; + RawLog = HideBans = HideSplits = false; WildcardIPv6 = true; dns_timeout = 5; MaxTargets = 20; @@ -413,7 +413,6 @@ void ServerConfig::Fill() GenericOper = security->getBool("genericoper"); SyntaxHints = options->getBool("syntaxhints"); CycleHostsFromUser = options->getBool("cyclehostsfromuser"); - UndernetMsgPrefix = options->getBool("ircumsgprefix"); FullHostInTopic = options->getBool("hostintopic"); MaxTargets = security->getInt("maxtargets", 20, 1, 31); DefaultModes = options->getString("defaultmodes", "not"); diff --git a/src/coremods/core_privmsg.cpp b/src/coremods/core_privmsg.cpp index 34527027c..d691464c0 100644 --- a/src/coremods/core_privmsg.cpp +++ b/src/coremods/core_privmsg.cpp @@ -169,14 +169,7 @@ CmdResult MessageCommandBase::HandleMessage(const std::vector& para if (status) { - if (ServerInstance->Config->UndernetMsgPrefix) - { - chan->WriteAllExcept(user, false, status, except_list, "%s %c%s :%c %s", MessageTypeString[mt], status, chan->name.c_str(), status, text); - } - else - { - chan->WriteAllExcept(user, false, status, except_list, "%s %c%s :%s", MessageTypeString[mt], status, chan->name.c_str(), text); - } + chan->WriteAllExcept(user, false, status, except_list, "%s %c%s :%s", MessageTypeString[mt], status, chan->name.c_str(), text); } else { -- cgit v1.2.3