- if(target_type == TYPE_USER)
- {
- userrec* user = (userrec*)item;
- char* pingrpl;
- user->GetExt(extenstr, pingrpl);
-
- if(pingrpl)
- {
- DELETE(pingrpl);
- user->Shrink(extenstr);
- }
- }
- }
-
- virtual ~ModuleWaitPong()
- {
- }
-
- virtual Version GetVersion()
- {
- return Version(1, 1, 0, 1, VF_VENDOR, API_VERSION);
- }
-
-};
-
-class ModuleWaitPongFactory : public ModuleFactory
-{
- public:
- ModuleWaitPongFactory()
- {
- }
-
- ~ModuleWaitPongFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleWaitPong(Me);