diff options
author | Sadie Powell <sadie@witchery.services> | 2020-10-06 15:13:14 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2020-10-06 15:13:14 +0100 |
commit | d0e839244593fb827d6eb0e4510470d978279497 (patch) | |
tree | 4d56f7fd0042dfa5cef9fb86f1529dacbc73f2bf /include | |
parent | af8056d2ddf1822ac2a811f8009989cbf91f4f54 (diff) |
Fix the global/global command showing the wrong origin nick.
Diffstat (limited to 'include')
-rw-r--r-- | include/modules/pseudoclients/global.h | 3 |
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 |