Skip to content
  • Zachary T Welch's avatar
    check top-level command registrations · c5eb8e29
    Zachary T Welch authored
    When calling module_register_commands, the return value needs to be
    checked for failures.  Instead of duplicating code, use an array of
    function pointers to the identical registration functions to iterate
    over during startup.
    c5eb8e29