summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/anope.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/anope.h b/include/anope.h
index bafd862e7..000e74d1a 100644
--- a/include/anope.h
+++ b/include/anope.h
@@ -558,6 +558,9 @@ namespace Anope
*/
extern CoreExport Anope::string Random(size_t len);
+ /** Generate a random number. */
+ extern CoreExport int RandomNumber();
+
/** Calculates the levenshtein distance between two strings.
* @param s1 The first string.
* @param s2 The second string.