Update m_invisible.cpp

Fixes issues mentioned in https://github.com/inspircd/inspircd-extras/issues/19.