From 1107b92699407f80fcfa9e12a491468d6f57b1d9 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 14 Sep 2013 03:17:04 -0400 Subject: Drop matching channels on forbid, and enforce nick forbids even on IRCds with no qlines --- include/anope.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 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(); -- cgit