]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Add comment to what the table here is for
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 5 Jun 2007 16:50:23 +0000 (16:50 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 5 Jun 2007 16:50:23 +0000 (16:50 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7238 e03df62e-2008-0410-955e-edbf42e46eb7

include/command_parse.h

index 6d98af97c998158c4dfa947df084cdac72aaac8c..cbcbea2d8382b205eaeeefcb6add4e9bf877e85a 100644 (file)
@@ -205,6 +205,11 @@ class cmd_reload : public command_t
        CmdResult Handle(const char** parameters, int pcnt, userrec *user);
 };
 
+/** A lookup table of values for multiplier characters used by
+ * InspIRCd::Duration(). In this lookup table, the indexes for
+ * the ascii values 'm' and 'M' have the value '60', the indexes
+ * for the ascii values 'D' and 'd' have a value of '86400', etc.
+ */
 const int duration_multi[] =
 {
        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
@@ -228,3 +233,4 @@ const int duration_multi[] =
 };
 
 #endif
+