author | skyhusker <skyhusker> | 2005-06-09 17:16:59 (UTC) |
---|---|---|
committer | skyhusker <skyhusker> | 2005-06-09 17:16:59 (UTC) |
commit | 6be140832d97bb485ba98bc9ea0f5cf622330595 (patch) (side-by-side diff) | |
tree | 48419a2990ea7f4ad815f0b113b92cff9137dddf /noncore/net/opieirc/ircchannel.cpp | |
parent | 855e272549619c02efac516b2cd17828d7a3ad68 (diff) | |
download | opie-6be140832d97bb485ba98bc9ea0f5cf622330595.zip opie-6be140832d97bb485ba98bc9ea0f5cf622330595.tar.gz opie-6be140832d97bb485ba98bc9ea0f5cf622330595.tar.bz2 |
Fix bug 1666
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 @@ -46,3 +46,9 @@ IRCChannelPerson *IRCChannel::getPerson(QString nickname) { return 0; } +bool IRCChannel::isValid(const QString &channel) +{ + return ( channel.startsWith("#") || channel.startsWith("&") + || channel.startsWith("+") || channel.startsWith("!")); +} + |