mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Make lastseen use CUser::IsIRCConnected() instead of CUser::GetCurrentServer() to determine if the user is connected to a server.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user