summaryrefslogtreecommitdiff
path: root/include/inspircd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/inspircd.h')
-rw-r--r--include/inspircd.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 2aa9aa326..35183c3bf 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -507,11 +507,11 @@ class CoreExport InspIRCd
static unsigned long Duration(const std::string& str);
/** Calculate a duration in seconds from a string in the form 1y2w3d4h6m5s
- * @param str A string containing a time in the form 1y2w3d4h6m5s
- * (one year, two weeks, three days, four hours, six minutes and five seconds)
- * @param duration The location to place the parsed duration valur
- * @return Whether the duration was a valid format or not
- */
+ * @param str A string containing a time in the form 1y2w3d4h6m5s
+ * (one year, two weeks, three days, four hours, six minutes and five seconds)
+ * @param duration The location to place the parsed duration valur
+ * @return Whether the duration was a valid format or not
+ */
static bool Duration(const std::string& str, unsigned long& duration);
/** Determines whether a string contains a valid duration.