mirror of
https://github.com/anope/anope.git
synced 2026-06-27 19:46:38 +02:00
Somehow the kick handler got lost in the confusion. Send the topic time with ftopic on inspircd not the current time. Removed some unneeded protocol functions
This commit is contained in:
@@ -131,11 +131,6 @@ class UnrealIRCdProto : public IRCDProto
|
||||
UplinkSocket::Message(source) << "h " << user->nick << " :" << buf;
|
||||
}
|
||||
|
||||
void SendModeInternal(const BotInfo *source, const Channel *dest, const Anope::string &buf) anope_override
|
||||
{
|
||||
UplinkSocket::Message(source) << "G " << dest->name << " " << buf;
|
||||
}
|
||||
|
||||
void SendModeInternal(const BotInfo *bi, const User *u, const Anope::string &buf) anope_override
|
||||
{
|
||||
UplinkSocket::Message(bi) << "v " << u->nick <<" " << buf;
|
||||
@@ -147,14 +142,6 @@ class UnrealIRCdProto : public IRCDProto
|
||||
UplinkSocket::Message() << "& " << u->nick << " 1 " << u->timestamp << " " << u->GetIdent() << " " << u->host << " " << u->server->GetName() << " 0 " << modes << " " << u->host << " * :" << u->realname;
|
||||
}
|
||||
|
||||
void SendKickInternal(const BotInfo *source, const Channel *chan, const User *user, const Anope::string &buf) anope_override
|
||||
{
|
||||
if (!buf.empty())
|
||||
UplinkSocket::Message(source) << "H " << chan->name << " " << user->nick << " :" << buf;
|
||||
else
|
||||
UplinkSocket::Message(source) << "H " << chan->name << " " << user->nick;
|
||||
}
|
||||
|
||||
/* SERVER name hop descript */
|
||||
/* Unreal 3.2 actually sends some info about itself in the descript area */
|
||||
void SendServer(const Server *server) anope_override
|
||||
@@ -1105,6 +1092,7 @@ class ProtoUnreal : public Module
|
||||
CoreIRCDMessageCapab core_message_capab;
|
||||
CoreIRCDMessageError core_message_error;
|
||||
CoreIRCDMessageJoin core_message_join;
|
||||
CoreIRCDMessageKick core_message_kick;
|
||||
CoreIRCDMessageKill core_message_kill;
|
||||
CoreIRCDMessageMOTD core_message_motd;
|
||||
CoreIRCDMessagePart core_message_part;
|
||||
|
||||
Reference in New Issue
Block a user