diff options
author | Adam <Adam@anope.org> | 2013-09-14 03:17:04 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-09-27 18:02:26 -0400 |
commit | 1107b92699407f80fcfa9e12a491468d6f57b1d9 (patch) | |
tree | 4ff0ccfcefa6e0fe87802de4797cde0761f37f57 /include/anope.h | |
parent | 3b0b1bc80e6161d5cdf85f792174f31ead178b93 (diff) |
Drop matching channels on forbid, and enforce nick forbids even on IRCds
with no qlines
Diffstat (limited to 'include/anope.h')
-rw-r--r-- | include/anope.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/anope.h b/include/anope.h index 03bb2418d..972e49b7f 100644 --- a/include/anope.h +++ b/include/anope.h @@ -225,7 +225,7 @@ namespace Anope inline string replace(iterator first, iterator last, const string &_str) { return string(this->_string.replace(first, last, _str._string)); } inline string replace(iterator first, iterator last, size_type n, char chr) { return string(this->_string.replace(first, last, n, chr)); } template <class InputIterator> inline string replace(iterator first, iterator last, InputIterator f, InputIterator l) { return string(this->_string.replace(first, last, f, l)); } - inline string replace_all_cs(const string &_orig, const string &_repl) + inline string replace_all_cs(const string &_orig, const string &_repl) const { Anope::string new_string = *this; size_type pos = new_string.find(_orig), orig_length = _orig.length(), repl_length = _repl.length(); @@ -236,7 +236,7 @@ namespace Anope } return new_string; } - inline string replace_all_ci(const string &_orig, const string &_repl) + inline string replace_all_ci(const string &_orig, const string &_repl) const { Anope::string new_string = *this; size_type pos = new_string.find_ci(_orig), orig_length = _orig.length(), repl_length = _repl.length(); |