diff options
Diffstat (limited to 'include/anope.h')
-rw-r--r-- | include/anope.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/anope.h b/include/anope.h index 7b9e9ccd1..3020feb54 100644 --- a/include/anope.h +++ b/include/anope.h @@ -154,6 +154,11 @@ namespace Anope inline size_type length() const { return this->_string.length(); } /** + * Add a char to the end of the string. + */ + inline void push_back(char c) { return this->_string.push_back(c); } + + /** * Resizes the string content to n characters. */ inline void resize(size_type n) { return this->_string.resize(n); } |