diff --git a/modules/lastseen.cpp b/modules/lastseen.cpp index 5569c98a..ae3e5df4 100644 --- a/modules/lastseen.cpp +++ b/modules/lastseen.cpp @@ -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;