diff options
author | Adam <Adam@anope.org> | 2012-11-30 02:49:09 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-11-30 02:53:03 -0500 |
commit | a4468dd56e96ea915d40627f3cb067084238e34a (patch) | |
tree | a8a497965346e55eeb79fc56797da6bea81bf841 /include/anope.h | |
parent | 337f3615264f30d4c9f06653d2dd2a21805546ce (diff) |
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.
Diffstat (limited to 'include/anope.h')
-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. */ |