From 2fc04ea00f5a35d751455ab4c70a032749408d0b Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Tue, 27 Nov 2007 16:24:09 +0000 Subject: Minor changes, still celaning up and writing some comments git-svn-id: svn://svn.alpinelinux.org/acf/openvpn/trunk@375 ab2d0c66-481e-0410-8bed-d214d4d58bed --- openvpn-model.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openvpn-model.lua') diff --git a/openvpn-model.lua b/openvpn-model.lua index b13ca4f..47aa726 100644 --- a/openvpn-model.lua +++ b/openvpn-model.lua @@ -171,8 +171,8 @@ function clientlist( self, path ) end end connclients = table.maxn(list) - -- FIXME: Use lib/date.lua instead of the following code. if ( connclients > 0 ) then + -- FIXME: If possible, use lib/date.lua instead of the following code. local lastdatechange = libdate.date_to_seconds(datechange) lastdatechangetxt = os.date("%c", lastdatechange[#lastdatechange]) lastdatechangediff = os.time() - os.date(lastdatechange[table.maxn(lastdatechange)]) -- cgit v1.2.3