summaryrefslogtreecommitdiff
path: root/include/modules
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 /include/modules
parent5dd5fa46440f9d76a725bfdf16d77bbb36ae7a6f (diff)
parent46e1395e62ad4d9a028b51f72d8d6a92187cf9b9 (diff)
Merge tag '2.0.8' into 2.1.
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/pseudoclients/global.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/modules/pseudoclients/global.h b/include/modules/pseudoclients/global.h
index 53e112468..88f878607 100644
--- a/include/modules/pseudoclients/global.h
+++ b/include/modules/pseudoclients/global.h
@@ -16,6 +16,9 @@ class GlobalService : public Service
{
}
+ /** Retrieves the bot which sends global messages unless otherwise specified. */
+ virtual Reference<BotInfo> GetDefaultSender() = 0;
+
/** Send out a global message to all users
* @param sender Our client which should send the global
* @param source The sender of the global