summaryrefslogtreecommitdiff
path: root/include/modules
diff options
context:
space:
mode:
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