summaryrefslogtreecommitdiff
path: root/modules/pseudoclients/global.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2020-10-07 14:42:33 +0100
committerSadie Powell <sadie@witchery.services>2020-10-07 14:42:33 +0100
commit8b2c1548ab46401f96d4e2e0f8258664e21744fb (patch)
tree508e7c89ca1a5c6252cb631338372e4f03a93772 /modules/pseudoclients/global.cpp
parent5dd5fa46440f9d76a725bfdf16d77bbb36ae7a6f (diff)
parent46e1395e62ad4d9a028b51f72d8d6a92187cf9b9 (diff)
Merge tag '2.0.8' into 2.1.
Diffstat (limited to 'modules/pseudoclients/global.cpp')
-rw-r--r--modules/pseudoclients/global.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/pseudoclients/global.cpp b/modules/pseudoclients/global.cpp
index 6810e7ef1..495d31ba4 100644
--- a/modules/pseudoclients/global.cpp
+++ b/modules/pseudoclients/global.cpp
@@ -29,6 +29,11 @@ class GlobalCore : public Module, public GlobalService
{
}
+ Reference<BotInfo> GetDefaultSender() anope_override
+ {
+ return Global;
+ }
+
void SendGlobal(BotInfo *sender, const Anope::string &source, const Anope::string &message) anope_override
{
if (Me->GetLinks().empty())