Make lastseen use CUser::IsIRCConnected() instead of CUser::GetCurrentServer() to determine if the user is connected to a server.

This commit is contained in:
Kyle Fuller
2011-03-28 22:23:08 +01:00
parent f9ffe6f417
commit 4f89834934

View File

@@ -115,7 +115,7 @@ public:
Row["Info"] = CString(pUser->GetClients().size()) +
" client" + CString(pUser->GetClients().size() == 1 ? "" : "s");
if(!pUser->GetCurrentServer()) {
if (!pUser->IsIRCConnected()) {
Row["Info"] += ", not connected to IRC";
} else {
unsigned int uChans = 0;