Diffstat (limited to 'noncore/net/opieirc/ircchannel.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircchannel.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircchannel.cpp b/noncore/net/opieirc/ircchannel.cpp index 5d81596..b9e377d 100644 --- a/noncore/net/opieirc/ircchannel.cpp +++ b/noncore/net/opieirc/ircchannel.cpp | |||
@@ -43,6 +43,12 @@ IRCChannelPerson *IRCChannel::getPerson(QString nickname) { | |||
43 | return it.current(); | 43 | return it.current(); |
44 | } | 44 | } |
45 | } | 45 | } |
46 | return 0; | 46 | return 0; |
47 | } | 47 | } |
48 | 48 | ||
49 | bool IRCChannel::isValid(const QString &channel) | ||
50 | { | ||
51 | return ( channel.startsWith("#") || channel.startsWith("&") | ||
52 | || channel.startsWith("+") || channel.startsWith("!")); | ||
53 | } | ||
54 | |||