]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Change the value of number of secs in a year to be 31557600 for Duration() with ...
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 21 Jun 2008 13:18:25 +0000 (13:18 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sat, 21 Jun 2008 13:18:25 +0000 (13:18 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9930 e03df62e-2008-0410-955e-edbf42e46eb7

include/command_parse.h

index b34c3cb7f83b1a496777de8dcd4f109150deb5d1..b0babac712e63e45f762955ffc9d5cf7effd58a3 100644 (file)
@@ -234,9 +234,9 @@ const int duration_multi[] =
        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
        1, 1, 1, 1, 1, 1, 1, 1, 86400, 1, 1, 1, 3600,
        1, 1, 1, 1, 60, 1, 1, 1, 1, 1, 1, 1, 1, 1,
-       604800, 1, 31536000, 1, 1, 1, 1, 1, 1, 1, 1,
+       604800, 1, 31557600, 1, 1, 1, 1, 1, 1, 1, 1,
        1, 1, 86400, 1, 1, 1, 3600, 1, 1, 1, 1, 60,
-       1, 1, 1, 1, 1, 1, 1, 1, 1, 604800, 1, 31536000,
+       1, 1, 1, 1, 1, 1, 1, 1, 1, 604800, 1, 31557600,
        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
        1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,