"m_sapart.so",
"m_saquit.so",
"m_setident.so",
+ "m_swhois.so",
};
static std::string wide_newline("\r\n");
{
if (proto_version < 1202)
{
+ for(std::vector<std::string>::iterator i = modlist.begin(); i != modlist.end(); ++i)
+ {
+ if (*i == "m_halfop.so")
+ {
+ modlist.erase(i);
+ break;
+ }
+ }
// you MUST have chgident loaded in order to be able to translate FIDENT
modlist.push_back("m_chgident.so");
for(int i=0; i * sizeof(char*) < sizeof(forge_common_1201); i++)
if (ServerInstance->Modules->Find(forge_common_1201[i]))
modlist.push_back(forge_common_1201[i]);
}
+ // module was merged
+ if (ServerInstance->Modules->Find("m_operchans.so"))
+ modlist.push_back("m_operinvex.so");
}
}
ServerInstance->Logs->Log("m_spanningtree",DEBUG,"Rewriting SAVE for 1201-protocol server");
std::string::size_type c = line.find(' ', b + 1);
std::string uid = line.substr(b, c - b);
- line = ":" + ServerInstance->Config->GetSID() + " SVSNICK " + uid + line.substr(b);
+ line = ":" + ServerInstance->Config->GetSID() + " SVSNICK" + uid + line.substr(b);
}
else if (proto_version < 1202 && command == "AWAY")
{