diff options
author | Attila Molnar <attilamolnar@hush.com> | 2015-01-24 14:53:03 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2015-01-24 14:53:03 +0100 |
commit | cf728bd8a3de0942c2294ca5b49745092565d87c (patch) | |
tree | 0c963a0b164782625be86f2d18cb0c899760034d /include | |
parent | 662dfa6c181a8c1d97a0c65499679e0eb1b399e2 (diff) |
Implement User::WriteCommonQuit() using ForEachNeighbor() in UserManager
Diffstat (limited to 'include')
-rw-r--r-- | include/users.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/users.h b/include/users.h index 6f319018f..fa8f610bc 100644 --- a/include/users.h +++ b/include/users.h @@ -548,13 +548,6 @@ class CoreExport User : public Extensible */ void WriteCommon(const char* text, ...) CUSTOM_PRINTF(2, 3); - /** Write a quit message to all common users, as in User::WriteCommonExcept but with a specific - * quit message for opers only. - * @param normal_text Normal user quit message - * @param oper_text Oper only quit message - */ - void WriteCommonQuit(const std::string &normal_text, const std::string &oper_text); - /** Execute a function once for each local neighbor of this user. By default, the neighbors of a user are the users * who have at least one common channel with the user. Modules are allowed to alter the set of neighbors freely. * This function is used for example to send something conditionally to neighbors, or to send different messages |