summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2014-03-12 13:50:41 +0100
committerAttila Molnar <attilamolnar@hush.com>2014-03-12 13:50:41 +0100
commit7aab18ae35770fa38aee887a3696d779516c7cb0 (patch)
tree77955f71f250a0f2784a9b6dd63c7a3bd860163d /include
parent9b17aecc0d711b1345416c0510adb270399960a9 (diff)
Deduplicate and move the *MatchesEveryone() functions to core_xline
Diffstat (limited to 'include')
-rw-r--r--include/inspircd.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 930514169..d1a457cf3 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -571,27 +571,6 @@ class CoreExport InspIRCd
*/
void Rehash(const std::string& uuid = "");
- /** Check if the given nickmask matches too many users, send errors to the given user
- * @param nick A nickmask to match against
- * @param user A user to send error text to
- * @return True if the nick matches too many users
- */
- bool NickMatchesEveryone(const std::string &nick, User* user);
-
- /** Check if the given IP mask matches too many users, send errors to the given user
- * @param ip An ipmask to match against
- * @param user A user to send error text to
- * @return True if the ip matches too many users
- */
- bool IPMatchesEveryone(const std::string &ip, User* user);
-
- /** Check if the given hostmask matches too many users, send errors to the given user
- * @param mask A hostmask to match against
- * @param user A user to send error text to
- * @return True if the host matches too many users
- */
- bool HostMatchesEveryone(const std::string &mask, User* user);
-
/** Calculate a duration in seconds from a string in the form 1y2w3d4h6m5s
* @param str A string containing a time in the form 1y2w3d4h6m5s
* (one year, two weeks, three days, four hours, six minutes and five seconds)