aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-11-10 18:44:07 +0900
committerGitHub <noreply@github.com>2017-11-10 18:44:07 +0900
commit87d358f5aadd85840bf649769e7d052fdeaad684 (patch)
treed6793ed20bf209d144d9cf40db958a1e6ddb3f6a
parentfa3bffd340ac512fbab77a05f10d2bf167ca2cc0 (diff)
parent27bec8d012b6310bf1f23c1c879232a841605f60 (diff)
downloadlibquotient-87d358f5aadd85840bf649769e7d052fdeaad684.tar.gz
libquotient-87d358f5aadd85840bf649769e7d052fdeaad684.zip
Merge pull request #112 from Quiark/master
Fix (IRC) bridge detection
-rw-r--r--user.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/user.cpp b/user.cpp
index 8c8a7fdb..dea75360 100644
--- a/user.cpp
+++ b/user.cpp
@@ -115,7 +115,7 @@ void User::processEvent(Event* event)
auto newName = e->displayName();
QRegularExpression reSuffix(" \\((IRC|Gitter)\\)$");
- auto match = reSuffix.match(d->name);
+ auto match = reSuffix.match(newName);
if (match.hasMatch())
{
d->bridged = match.captured(1);