added missing function setGod to message.cpp