From a2f84209c0a9dc0030a7d2a1e67ca81b319334bb Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sat, 3 Dec 2011 18:52:13 +0100 Subject: print system info in one line for others --- plugins/winsys/winsys.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'plugins') 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 { -- cgit 1.4.1