diff options
author | Adam <Adam@anope.org> | 2014-10-05 16:22:39 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-10-06 14:06:36 -0400 |
commit | 18b3c572f46be91c64e50b1ac91f048790df7f2c (patch) | |
tree | 0d840f9979eec2f947f6d857508379910d5db891 | |
parent | af034928cb3e4853591c9a2f6512ed108500df37 (diff) |
ngircd doesn't allow sourceless messages
-rw-r--r-- | modules/protocol/ngircd.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/protocol/ngircd.cpp b/modules/protocol/ngircd.cpp index 86ced45ed..6078b87b8 100644 --- a/modules/protocol/ngircd.cpp +++ b/modules/protocol/ngircd.cpp @@ -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 |