diff options
author | Berke Viktor <berkeviktor@aol.com> | 2011-12-03 18:52:13 +0100 |
---|---|---|
committer | Berke Viktor <berkeviktor@aol.com> | 2011-12-03 18:52:13 +0100 |
commit | a2f84209c0a9dc0030a7d2a1e67ca81b319334bb (patch) | |
tree | 29b07a563b3f819a27905de12e900f8616b621e6 /plugins/winsys | |
parent | 6b53f899ae143376d7774b742f2a437a28c85f13 (diff) |
print system info in one line for others
Diffstat (limited to 'plugins/winsys')
-rw-r--r-- | plugins/winsys/winsys.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/plugins/winsys/winsys.cpp b/plugins/winsys/winsys.cpp index 68c47016..2c1c7f83 100644 --- a/plugins/winsys/winsys.cpp +++ b/plugins/winsys/winsys.cpp @@ -363,15 +363,15 @@ printInfo (char *word[], char *word_eol[], void *user_data) } if (xchat_list_int (ph, NULL, "type") >= 2) { - /* xchat_commandf (ph, "ME * WinSys - system details *"); - xchat_commandf (ph, "ME ***************************"); */ - xchat_commandf (ph, "ME * Client: XChat-WDK %s (x%d)", xchat_get_info (ph, "wdk_version"), getCpuArch ()); - xchat_commandf (ph, "ME * OS: %s", wmiOs); - xchat_commandf (ph, "ME * CPU: %s (%s)", wmiCpu, getCpuMhz ()); - xchat_commandf (ph, "ME * RAM: %s", getMemoryInfo ()); - xchat_commandf (ph, "ME * VGA: %s", wmiVga); - /* will work correctly for up to 50 days, should be enough */ - xchat_commandf (ph, "ME * Uptime: %.2f Hours", (float) GetTickCount() / 1000 / 60 / 60); + /* uptime will work correctly for up to 50 days, should be enough */ + xchat_commandf (ph, "ME ** Client: XChat-WDK %s (x%d) ** OS: %s ** CPU: %s (%s) ** RAM: %s ** VGA: %s ** Uptime: %.2f Hours **", + xchat_get_info (ph, "wdk_version"), + getCpuArch (), + wmiOs, + wmiCpu, + getCpuMhz (), + getMemoryInfo (), + wmiVga, (float) GetTickCount() / 1000 / 60 / 60); } else { |