summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h3
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