# HG changeset patch # User Kim Alvefur # Date 1335296240 -7200 # Node ID eaa8991998d54633c8f8177b3af249ed665941f7 # Parent cdab466551bd60aa0f2db1b5d1e7dbdc13b78579 mod_version: Fix missing comma and correct prefix for util.pposix diff -r cdab466551bd -r eaa8991998d5 plugins/mod_version.lua --- a/plugins/mod_version.lua Thu Apr 19 19:30:47 2012 +0100 +++ b/plugins/mod_version.lua Tue Apr 24 21:37:20 2012 +0200 @@ -21,7 +21,7 @@ version = "Windows"; else local os_version_command = module:get_option("os_version_command"); - local ok pposix = pcall(require, "pposix"); + local ok, pposix = pcall(require, "util.pposix"); if not os_version_command and (ok and pposix and pposix.uname) then version = pposix.uname().sysname; end