Update Hooks.cpp

Why use:
(enabled == true)

Don't you know that (enabled == true) is the same as (and better written as):
(enabled)
since this is a boolean.
Merge pull request #4 from Alsafa7/patch-1

Update Hooks.cpp