PennMUSH Community

Ticket #5822 (closed suggested feature: fixed)

Opened 5 years ago

Last modified 9 months ago

While we're cleaning...

Reported by: anonymous Assigned to: devteam
Priority: minor Milestone: 1.8.3p6
Keywords: Cc:
Visibility: Public

Description (Last modified by raevnos)

Given that we're doing a bit of housecleaning, how about doing
away with the SWITCHES file, and just gleaning all the appropriate
info from the switch string passed to command_add?  Instead of
having SW_* constants, pass back pointers to the full names of
the switches that were matched...

- Alex

Change History

11/24/07 02:26:39 changed by raevnos

  • status changed from new to closed.
  • resolution set to fixed.
  • description changed.
  • milestone set to 1.8.3p6.

Old way still works, new switches don't have to be added to src/SWITCHES, testing of existing switches can be done old-style with an integer index, or new-style with a name.