From a4468dd56e96ea915d40627f3cb067084238e34a Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 30 Nov 2012 02:49:09 -0500 Subject: Allow modules to use the encryption modules to encrypt arbitrary things. Made enc_old depend on enc_md5. Allow not loading any encryption modules if you want to only use an external mechanism. Removed ns_sendpass since it's just a bad idea. --- include/anope.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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. */ -- cgit