summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-24 09:07:08 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-24 09:07:08 +0000
commit9175a3799dbf1e0809fb1bb540ca715243c0be2a (patch)
treeb3ccd3291c2b95dd4327d349082b7ee06c60bf07
parent0f41486ecf373cdba78fe170faf48161e92a9b1b (diff)
Fix broken stuff.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10697 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_showwhois.cpp4
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))