summaryrefslogtreecommitdiff
path: root/modules/protocol/unreal.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-10-02 21:21:37 -0400
committerAdam <Adam@anope.org>2012-10-02 21:21:37 -0400
commit7042223f2eb486e8d1aec9fd176d416096a6e927 (patch)
tree819429547978a437a591e499c00202f6f9566ee9 /modules/protocol/unreal.cpp
parent93698f0d61935f86019b3491c9e62c6326a180ba (diff)
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
Diffstat (limited to 'modules/protocol/unreal.cpp')
-rw-r--r--modules/protocol/unreal.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/modules/protocol/unreal.cpp b/modules/protocol/unreal.cpp
index 3bdcd2e5f..186fc8563 100644
--- a/modules/protocol/unreal.cpp
+++ b/modules/protocol/unreal.cpp
@@ -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;