summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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.