- Srv = Me;
- // Create a new command:
- // command will be called /WOOT, and will
- // call handle_woot when triggered, the
- // 0 in the modes parameter signifies that
- // anyone can issue the command, and the
- // command takes only one parameter.
- newcommand = new cmd_woot();
- Srv->AddCommand(newcommand);
- }
+ // Create a new command
+ newcommand = new CommandDalinfo(ServerInstance);
+ ServerInstance->AddCommand(newcommand);