diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-02-26 14:41:50 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-02-26 14:41:50 +0000 |
| commit | 83dd96b9f2ea3a10c9c55ecec42d4f7e330643fe (patch) | |
| tree | 1823102f16cd149081013004bb734af90adaaced /include | |
| parent | cabaa079dfb1e5a65b770914676dd4b2f0f16b10 (diff) | |
Extract should privmsg logic to its own function.
Diffstat (limited to 'include')
| -rw-r--r-- | include/users.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h index b33cf2916..d8860e6f2 100644 --- a/include/users.h +++ b/include/users.h @@ -369,6 +369,9 @@ public: */ bool BadPassword(); + /** Determines whether this user should receive a PRIVMSG instead of a NOTICE. */ + bool ShouldPrivmsg() const; + /** Finds a user by nick, or possibly UID * @param name The nick, or possibly UID, to lookup * @param nick_only set to true to only look up by nick, not UID |
