- user->SendText("%s member %-3lu %s%s (%s@%s) %s ",
- checkstr.c_str(), ServerInstance->Users->GlobalCloneCount(i->first),
- targchan->GetAllPrefixChars(i->first), i->first->nick.c_str(),
+ const UserManager::CloneCounts& clonecount = ServerInstance->Users->GetCloneCounts(i->first);
+ user->SendText("%s member %-3u %s%s (%s@%s) %s ",
+ checkstr.c_str(), clonecount.global,
+ i->second->GetAllPrefixChars(), i->first->nick.c_str(),