summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-03-29 11:58:09 +0100
committerSadie Powell <sadie@witchery.services>2020-03-29 11:58:09 +0100
commit92732be632831cbb0751a5f2ad3d89e9bf87b2dd (patch)
treebb3cb410be0016c601f9e479e0467e5fa444dff5 /src/modules
parent5fff3610d5fe938213e98a24ed67263f8bee7a55 (diff)
Include ADMIN and OPER in the default for <shun:enabledcmds>.
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_shun.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_shun.cpp b/src/modules/m_shun.cpp
index f10ac79f5..6eaa6b47c 100644
--- a/src/modules/m_shun.cpp
+++ b/src/modules/m_shun.cpp
@@ -196,7 +196,7 @@ class ModuleShun : public Module, public Stats::EventListener
ConfigTag* tag = ServerInstance->Config->ConfValue("shun");
ShunEnabledCommands.clear();
- irc::spacesepstream enabledcmds(tag->getString("enabledcommands", "PING PONG QUIT", 1));
+ irc::spacesepstream enabledcmds(tag->getString("enabledcommands", "ADMIN OPER PING PONG QUIT", 1));
for (std::string enabledcmd; enabledcmds.GetToken(enabledcmd); )
{
std::transform(enabledcmd.begin(), enabledcmd.end(), enabledcmd.begin(), ::toupper);