1
0
mirror of https://github.com/anope/anope.git synced 2026-07-05 04:53:12 +02:00

Extract should privmsg logic to its own function.

This commit is contained in:
Sadie Powell
2024-02-26 14:41:50 +00:00
parent cabaa079df
commit 83dd96b9f2
2 changed files with 13 additions and 8 deletions
+3
View File
@@ -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