WIP commit on refactoring command registration.

Removes the repetitive and gigantic case statement, and adds a
register_command function. This function generates a regex for matching
that command and a handler function to call.

The entry point into the script now matches the user input against a
regex and calls the handler function.
This commit is contained in:
Marcus Whybrow 2012-06-11 19:15:04 +01:00
parent a4fb3800e8
commit 1a5a192f71

1547
init/msm

File diff suppressed because it is too large Load Diff