Software /
code /
prosody
Changeset
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 |
parents | 4526:cdab466551bd |
children | 4794:25ce7720555f 4795:8a105eb8aeae |
files | plugins/mod_version.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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