diff options
author | Adam <Adam@anope.org> | 2013-09-27 20:07:07 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-09-27 20:07:07 -0400 |
commit | 4b059beb247a12726d9a471433a27a39190d583b (patch) | |
tree | f6daaf13fb81e5c591f02f6cac90687ec592e2c9 /include/anope.h | |
parent | b319fb089c144312ab9141d6f6469d50d9d7a1ea (diff) |
Replace this silly random code generation code with something more sane looking
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 e4a654b78..6c31c879f 100644 --- a/include/anope.h +++ b/include/anope.h @@ -535,6 +535,11 @@ namespace Anope * @return the IP if it was found, else the host */ extern Anope::string Resolve(const Anope::string &host, int type); + + /** Generate a string of random letters and numbers + * @param len The length of the string returned + */ + extern Anope::string Random(size_t len); } /** sepstream allows for splitting token seperated lists. |