summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircchanneltab.cpp
Unidiff
Diffstat (limited to 'noncore/net/opieirc/ircchanneltab.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircchanneltab.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/net/opieirc/ircchanneltab.cpp b/noncore/net/opieirc/ircchanneltab.cpp
index 707e17f..881ded7 100644
--- a/noncore/net/opieirc/ircchanneltab.cpp
+++ b/noncore/net/opieirc/ircchanneltab.cpp
@@ -185,13 +185,16 @@ void IRCChannelTab::popupVersion() {
185void IRCChannelTab::popupWhois() { 185void IRCChannelTab::popupWhois() {
186 if(m_list->currentItem() != -1) 186 if(m_list->currentItem() != -1)
187 m_parentTab->session()->whois(m_list->text(m_list->currentItem())); 187 m_parentTab->session()->whois(m_list->text(m_list->currentItem()));
188} 188}
189 189
190QString IRCChannelTab::title() { 190QString IRCChannelTab::title() {
191 return m_channel->channelname(); 191 if(!m_channel->channelname().startsWith("&"))
192 return m_channel->channelname();
193
194 return "&" + m_channel->channelname();
192} 195}
193 196
194IRCSession *IRCChannelTab::session() { 197IRCSession *IRCChannelTab::session() {
195 return m_parentTab->session(); 198 return m_parentTab->session();
196} 199}
197 200