summaryrefslogtreecommitdiff
path: root/include/messages.h
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 /include/messages.h
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 'include/messages.h')
-rw-r--r--include/messages.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/messages.h b/include/messages.h
index 115f659af..c46d15de9 100644
--- a/include/messages.h
+++ b/include/messages.h
@@ -33,6 +33,13 @@ struct CoreIRCDMessageJoin : IRCDMessage
bool Run(MessageSource &source, const std::vector<Anope::string> &params) anope_override;
};
+struct CoreIRCDMessageKick : IRCDMessage
+{
+ CoreIRCDMessageKick(const Anope::string &mname = "KICK") : IRCDMessage(mname, 2) { SetFlag(IRCDMESSAGE_SOFT_LIMIT); }
+
+ bool Run(MessageSource &source, const std::vector<Anope::string> &params) anope_override;
+};
+
struct CoreIRCDMessageKill : IRCDMessage
{
CoreIRCDMessageKill(const Anope::string &mname = "KILL") : IRCDMessage(mname, 2) { }