Don't use m_pClient from a global module hook

Fixes #5