- ModuleGlobops()
- {
- Srv = new Server;
-
- if (!Srv->AddExtendedMode('g',MT_CLIENT,true,0,0))
- {
- Srv->Log(DEFAULT,"*** m_globops: ERROR, failed to allocate user mode +g!");
- printf("Could not claim usermode +g for this module!");
- return;
- }
- else Srv->AddCommand("GLOBOPS",handle_globops,'o',1,"m_globops.so");
- }
-
- virtual ~ModuleGlobops()
- {
- delete Srv;
- }
-
- virtual Version GetVersion()
+ CommandGlobops (InspIRCd* Instance) : Command(Instance,"GLOBOPS","o",1,1)