Diffstat (limited to 'noncore/net/opieirc/ircchannellist.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircchannellist.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/noncore/net/opieirc/ircchannellist.cpp b/noncore/net/opieirc/ircchannellist.cpp index c32c535..8cf144e 100644 --- a/noncore/net/opieirc/ircchannellist.cpp +++ b/noncore/net/opieirc/ircchannellist.cpp | |||
@@ -1,3 +1,5 @@ | |||
1 | #include <qpe/resource.h> | 1 | #include <qpe/resource.h> |
2 | |||
2 | #include "ircchannellist.h" | 3 | #include "ircchannellist.h" |
4 | #include "ircchannelperson.h" | ||
3 | 5 | ||
@@ -15,10 +17,10 @@ void IRCChannelList::update() { | |||
15 | IRCChannelPerson *person = it.current(); | 17 | IRCChannelPerson *person = it.current(); |
16 | if (person->flags & PERSON_FLAG_OP) { | 18 | if (person->flags() & IRCChannelPerson::PERSON_FLAG_OP) { |
17 | insertItem(op, "1" + person->person->nick()); | 19 | insertItem(op, "1" + person->nick()); |
18 | } else if (person->flags & PERSON_FLAG_HALFOP) { | 20 | } else if (person->flags() & IRCChannelPerson::PERSON_FLAG_HALFOP) { |
19 | insertItem(op, "2" + person->person->nick()); | 21 | insertItem(op, "2" + person->nick()); |
20 | } else if (person->flags & PERSON_FLAG_VOICE) { | 22 | } else if (person->flags() & IRCChannelPerson::PERSON_FLAG_VOICE) { |
21 | insertItem(voice, "3" + person->person->nick()); | 23 | insertItem(voice, "3" + person->nick()); |
22 | } else { | 24 | } else { |
23 | insertItem("4" + person->person->nick()); | 25 | insertItem("4" + person->nick()); |
24 | } | 26 | } |