X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fxline.cpp;h=accffb8d0ebaf7ba0181f69b506ed3f2c2f59b86;hb=3bd512df63f7fa81fcdad57b22ea4fc79fe56097;hp=f9d94e447b06d7aa24e2618c61e84ae5f3a02ee3;hpb=0ab7720ea4b53996a4bb6b8e47e8aae9304861a1;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/xline.cpp b/src/xline.cpp index f9d94e447..accffb8d0 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -460,7 +460,11 @@ void XLineManager::ApplyLines() if (x->Matches(u)) { x->Apply(u); - break; + + // If applying the X-line has killed the user then don't + // apply any more lines to them. + if (u->quitting) + break; } } }