From f85af28663814f3262f5ecfcd20a4b4f67c23067 Mon Sep 17 00:00:00 2001 From: skyhusker Date: Wed, 26 Jan 2005 22:45:53 +0000 Subject: * Created new class for IRCChannelPerson. * Added whois, ping and version entries to channel popup menu. * Fixed action on CTCP PING reply (was interpreted as a request). --- (limited to 'noncore/net/opieirc/ircchannel.cpp') diff --git a/noncore/net/opieirc/ircchannel.cpp b/noncore/net/opieirc/ircchannel.cpp index 5c380e5..5d81596 100644 --- a/noncore/net/opieirc/ircchannel.cpp +++ b/noncore/net/opieirc/ircchannel.cpp @@ -1,4 +1,5 @@ #include "ircchannel.h" +#include "ircchannelperson.h" IRCChannel::IRCChannel(QString channelname) { m_hasPeople = FALSE; @@ -38,7 +39,7 @@ QListIterator IRCChannel::people() { IRCChannelPerson *IRCChannel::getPerson(QString nickname) { QListIterator it(m_people); for (; it.current(); ++it) { - if (it.current()->person->nick() == nickname) { + if (it.current()->nick() == nickname) { return it.current(); } } -- cgit v0.9.0.2