mirror of
https://github.com/anope/anope.git
synced 2026-06-27 17:26:39 +02:00
When introducing opered clients on inspircd send a fake opertype
This commit is contained in:
@@ -228,6 +228,8 @@ class InspIRCd12Proto : public IRCDProto
|
||||
{
|
||||
Anope::string modes = "+" + u->GetModes();
|
||||
UplinkSocket::Message(Me) << "UID " << u->GetUID() << " " << u->timestamp << " " << u->nick << " " << u->host << " " << u->host << " " << u->GetIdent() << " 0.0.0.0 " << u->timestamp << " " << modes << " :" << u->realname;
|
||||
if (modes.find('o') != Anope::string::npos)
|
||||
UplinkSocket::Message(u) << "OPERTYPE :services";
|
||||
}
|
||||
|
||||
/* SERVER services-dev.chatspike.net password 0 :Description here */
|
||||
|
||||
Reference in New Issue
Block a user