diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/anope.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/anope.h b/include/anope.h index 0ba950d9b..15944e165 100644 --- a/include/anope.h +++ b/include/anope.h @@ -138,6 +138,9 @@ namespace Anope */ inline void push_back(char c) { return this->_string.push_back(c); } + inline string& append(const string &s) { this->_string.append(s.str()); return *this; } + inline string& append(const char *s, size_t n) { this->_string.append(s, n); return *this; } + /** * Resizes the string content to n characters. */ |
