1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 08:53:12 +02:00

Add/fix various checks on source user existing in the protocol modules

This commit is contained in:
Adam
2016-07-23 15:47:33 -04:00
parent b2e25db159
commit 647f8cd4e6
5 changed files with 26 additions and 6 deletions
+5 -1
View File
@@ -195,7 +195,11 @@ class CharybdisProto : public IRCDProto
struct IRCDMessageEncap : IRCDMessage
{
IRCDMessageEncap(Module *creator) : IRCDMessage(creator, "ENCAP", 3) { SetFlag(IRCDMESSAGE_SOFT_LIMIT);}
IRCDMessageEncap(Module *creator) : IRCDMessage(creator, "ENCAP", 3)
{
SetFlag(IRCDMESSAGE_SOFT_LIMIT);
SetFlag(IRCDMESSAGE_REQUIRE_USER);
}
void Run(MessageSource &source, const std::vector<Anope::string> &params) anope_override
{