From 83dd96b9f2ea3a10c9c55ecec42d4f7e330643fe Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 26 Feb 2024 14:41:50 +0000 Subject: Extract should privmsg logic to its own function. --- include/users.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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 -- cgit