+ ConfigTag* tag = ServerInstance->Config->ConfValue("showwhois");
+
+ bool OpersOnly = tag->getBool("opersonly", true);
+ ShowWhoisFromOpers = tag->getBool("showfromopers", true);
+
+ sw = new SeeWhois(this, OpersOnly);
+ ServerInstance->Modules->AddService(*sw);
+ ServerInstance->Modules->AddService(cmd);
+ Implementation eventlist[] = { I_OnWhois };
+ ServerInstance->Modules->Attach(eventlist, this, sizeof(eventlist)/sizeof(Implementation));