diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_showwhois.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_showwhois.cpp b/src/modules/m_showwhois.cpp index f4b7cec46..e4e666a1d 100644 --- a/src/modules/m_showwhois.cpp +++ b/src/modules/m_showwhois.cpp @@ -55,8 +55,8 @@ class ModuleShowwhois : public Module ModuleShowwhois(InspIRCd* Me) : Module(Me) { ConfigReader conf(ServerInstance); - bool OpersOnly = conf.ReadFlag("showwhois", "opersonly", 0, true); - ShowWhoisFromOpers = conf.ReadFlag("showwhois", "showfromopers", 0, true); + bool OpersOnly = conf.ReadFlag("showwhois", "opersonly", "yes", 0); + ShowWhoisFromOpers = conf.ReadFlag("showwhois", "showfromopers", "yes", 0); sw = new SeeWhois(ServerInstance, OpersOnly); if (!ServerInstance->Modes->AddMode(sw)) |