I may have added this. In this case, I have the beginnings of a module (whois on other users), but I don't know how to figure out what partyline channels a user is on. If someone could help me out with this, I would appreciate it. I hope to add ISON before I go back to school.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I may have added this. In this case, I have the beginnings of a module (whois on other users), but I don't know how to figure out what partyline channels a user is on. If someone could help me out with this, I would appreciate it. I hope to add ISON before I go back to school.
SCString FindChannels(const CString& sNick)
{
SCString ssRet;
for (set<CPartylineChannel*>::iterator it = m_ssChannels.begin(); it != m_ssChannels.end(); ++it) {
if ((*it)->IsInChannel(sNick))
ssRet.insert((*it)->GetName();
}
return ssRet;
}
This code is untested and written ad-hoc. No idea if it even compiles, but it should show the general idea.
}
Sorry, but partyline isn't meant to be a full-fledged IRCd.