Update registration.cpp
Merge pull request #117 from snowfed/master

Fixed a minor drawback in command_handler_throw in module backend