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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user