summaryrefslogtreecommitdiff
path: root/modules/protocol/unreal4.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-01-11 20:42:20 -0500
committerAdam <Adam@anope.org>2017-01-11 20:42:20 -0500
commita4f7d847abdde8f070a201417a456067d3beb4a1 (patch)
tree9b3c7a10b98b1c0462540cb8a8070e73aa22a8d0 /modules/protocol/unreal4.cpp
parent5beb33824719c4fbf2ba691e939d50d4b38196df (diff)
unreal4: use SENDUMODE instead of GLOBOPS
Diffstat (limited to 'modules/protocol/unreal4.cpp')
-rw-r--r--modules/protocol/unreal4.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/protocol/unreal4.cpp b/modules/protocol/unreal4.cpp
index b98de5ff2..e17558680 100644
--- a/modules/protocol/unreal4.cpp
+++ b/modules/protocol/unreal4.cpp
@@ -300,6 +300,11 @@ class UnrealIRCdProto : public IRCDProto
UplinkSocket::Message() << "SVSPART " << user->GetUID() << " " << chan;
}
+ void SendGlobopsInternal(const MessageSource &source, const Anope::string &buf) anope_override
+ {
+ UplinkSocket::Message(Me) << "SENDUMODE o :from " << source.GetName() << ": " << buf;
+ }
+
void SendSWhois(const MessageSource &source, const Anope::string &who, const Anope::string &mask) anope_override
{
UplinkSocket::Message(source) << "SWHOIS " << who << " :" << mask;