projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mod_c2s: Move another log message to debug level
[prosody.git]
/
plugins
/
mod_version.lua
diff --git
a/plugins/mod_version.lua
b/plugins/mod_version.lua
index 52d8d290dcec84044383e3db1afb9f811c1602cd..be244beb31fd1c75bd7aa20bcc458056a3d3f3ef 100644
(file)
--- a/
plugins/mod_version.lua
+++ b/
plugins/mod_version.lua
@@
-1,7
+1,7
@@
-- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
-- Prosody IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
---
+--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
@@
-21,7
+21,7
@@
if not module:get_option("hide_os_type") then
version = "Windows";
else
local os_version_command = module:get_option("os_version_command");
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
if not os_version_command and (ok and pposix and pposix.uname) then
version = pposix.uname().sysname;
end