Commit 36330270 authored by Peter Simonsson's avatar Peter Simonsson
Browse files

Consider # a valid channel name

There's channels out there that has a name consisting of the channel
prefix alone so let's consider them valid.

BUG: 404072
parent 2f37b288
......@@ -551,7 +551,7 @@ void Server::showSSLDialog()
void Server::rebuildTargetPrefixMatcher()
{
m_targetMatcher.setPattern(QLatin1String("^([") + getServerNickPrefixes() + QLatin1String("]*)([") + getChannelTypes() + QLatin1String("])(.+)"));
m_targetMatcher.setPattern(QLatin1String("^([") + getServerNickPrefixes() + QLatin1String("]*)([") + getChannelTypes() + QLatin1String("])(.*)"));
}
// set available channel types according to 005 RPL_ISUPPORT
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment