mirror of
https://github.com/anope/anope.git
synced 2026-07-02 02:46:39 +02:00
Merge branch '2.0' into 2.1.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* InspIRCd functions
|
||||
*
|
||||
* (C) 2003-2022 Anope Team
|
||||
* (C) 2003-2023 Anope Team
|
||||
* Contact us at team@anope.org
|
||||
*
|
||||
* Please read COPYING and README for further details.
|
||||
@@ -281,8 +281,16 @@ class InspIRCdProto : 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)
|
||||
{
|
||||
// Mark as introduced so we can send an oper type.
|
||||
BotInfo *bi = BotInfo::Find(u->nick, true);
|
||||
if (bi)
|
||||
bi->introduced = true;
|
||||
|
||||
UplinkSocket::Message(u) << "OPERTYPE :service";
|
||||
}
|
||||
}
|
||||
|
||||
void SendServer(const Server *server) override
|
||||
|
||||
Reference in New Issue
Block a user