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:
@@ -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> ¶ms) anope_override
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user