1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 06:26:38 +02:00

ngircd doesn't allow sourceless messages

This commit is contained in:
Adam
2014-10-05 16:22:39 -04:00
parent af034928cb
commit 18b3c572f4
+5
View File
@@ -169,6 +169,11 @@ class ngIRCdProto : public IRCDProto
{
this->SendVhost(u, u->GetIdent(), "");
}
Anope::string Format(const Anope::string &source, const Anope::string &message) anope_override
{
return IRCDProto::Format(source.empty() ? Me->GetSID() : source, message);
}
};
struct IRCDMessage005 : IRCDMessage