From 4b059beb247a12726d9a471433a27a39190d583b Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 27 Sep 2013 20:07:07 -0400 Subject: Replace this silly random code generation code with something more sane looking --- include/anope.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/anope.h') 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. -- cgit