Menu

#70 Partyline Whois, ISON

closed
nobody
None
5
2011-02-15
2010-02-22
Anonymous
No

Partyline is missing WHOIS, ISON.
I failed rather spectacularly at adding this on my own.

Discussion

  • Efreak

    Efreak - 2010-08-06

    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.

     
  • Psychon

    Psychon - 2010-08-06

    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.

    }

     
  • Psychon

    Psychon - 2011-02-15
    • status: open --> closed
     
  • Psychon

    Psychon - 2011-02-15

    Sorry, but partyline isn't meant to be a full-fledged IRCd.

     

Log in to post a comment.