summaryrefslogtreecommitdiff
path: root/include/anope.h
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-09-27 20:07:07 -0400
committerAdam <Adam@anope.org>2013-09-27 20:07:07 -0400
commit4b059beb247a12726d9a471433a27a39190d583b (patch)
treef6daaf13fb81e5c591f02f6cac90687ec592e2c9 /include/anope.h
parentb319fb089c144312ab9141d6f6469d50d9d7a1ea (diff)
Replace this silly random code generation code with something more sane looking
Diffstat (limited to 'include/anope.h')
-rw-r--r--include/anope.h5
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.