Use call_hook_function() in handler_active()
authorJeremy Stanley <fungi@yuggoth.org>
Mon, 30 Dec 2019 15:18:52 +0000 (15:18 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Mon, 30 Dec 2019 16:14:18 +0000 (16:14 +0000)
commitc4245fbcb7129049f24512f21fba727e620246dc
treef13062407d3f817ece3dddf25568ebc40cdb790f
parenteecae7d240916774df48fc6fcf340fed86e3bb74
Use call_hook_function() in handler_active()

Simplify mudpy.misc.handler_active() by making it a wrapper around
the more general mudpy.misc.call_hook_function() which was
originally derived from it.
mudpy/misc.py