Software /
code /
prosody
Diff
plugins/mod_version.lua @ 4793:eaa8991998d5
mod_version: Fix missing comma and correct prefix for util.pposix
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 24 Apr 2012 21:37:20 +0200 |
parent | 3483:443139c396c5 |
child | 5776:bd0ff8ae98a8 |
line wrap: on
line diff
--- 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