+ if (c->IsModeSet('M') && !is_registered && res != MOD_RES_ALLOW)
{
// user messaging a +M channel and is not registered
user->WriteNumeric(477, ""+std::string(user->nick)+" "+std::string(c->name)+" :You need to be identified to a registered account to message this channel");
@@ -263,27+264,18 @@ class ModuleServicesAccount : public Module
dest->WriteNumeric(900, "%s %s %s :You are now logged in as %s",