return Version(1,0,0,1,VF_STATIC|VF_VENDOR);
}
- virtual void OnRehash(std::string parameter)
+ virtual void OnRehash(const std::string ¶meter)
{
ConfigReader* Conf = new ConfigReader();
key1 = key2 = key3 = key4 = 0;
}
if (!key1 && !key2 && !key3 && !key4)
{
- key1 = 0x67452301;
- key2 = 0xefcdab89;
- key3 = 0x98badcfe;
- key4 = 0x10325476;
- Srv->Log("WARNING! You have not defined cloak keys for m_cloaking!!! THIS IS INSECURE AND SHOULD BE CHECKED!");
- Srv->Log("Using default builtin keys (INSECURE): 0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476");
+ ModuleException ex("You have not defined cloak keys for m_cloaking!!! THIS IS INSECURE AND SHOULD BE CHECKED!");
+ throw (ex);
}
/*ctx->buf[0] = 0x67452301;