Skip to content
Permalink
Browse files

Fix murmur handling all groups starting with "sub" as special.

Now only detect "sub" without parameters or names starting with
"sub," as those are "sub" with a parameter list.

Fixes #1199
  • Loading branch information...
hacst committed Sep 21, 2014
1 parent dedf841 commit 7c5a9fb3b80262341348c1cc49737056b41f4b22
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/Group.cpp
@@ -181,7 +181,9 @@ bool Group::isMember(Channel *curChan, Channel *aclChan, QString name, ServerUse
m = (pl->cChannel == c);
else if (name == QLatin1String("out"))
m = !(pl->cChannel == c);
else if (name.startsWith(QLatin1String("sub"))) {
else if (name == QLatin1String("sub")
|| name.startsWith(QLatin1String("sub,"))) {

name = name.remove(0,4);
int mindesc = 1;
int maxdesc = 1000;

0 comments on commit 7c5a9fb

Please sign in to comment.
You can’t perform that action at this time.