From 9175a3799dbf1e0809fb1bb540ca715243c0be2a Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 24 Oct 2008 09:07:08 +0000 Subject: Fix broken stuff. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10697 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_showwhois.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') 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)) -- cgit v1.2.3