- Srv = Me;
- mg = new ModeGlobops();
- Srv->AddMode(mg, 'g');
- mycommand = new cmd_globops();
- Srv->AddCommand(mycommand);
+
+ mg = new ModeGlobops(ServerInstance);
+ ServerInstance->AddMode(mg, 'g');
+ mycommand = new cmd_globops(ServerInstance);
+ ServerInstance->AddCommand(mycommand);