From 85a79e990de2b1c05a161ea49857a9586567b8c2 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 2 Nov 2007 21:27:01 +0000 Subject: Force to uuid on applying a qline, rather than disconnecting git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8472 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/xline.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xline.cpp b/src/xline.cpp index c292cc170..56bd029d7 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -483,8 +483,8 @@ bool QLine::Matches(User *u) void QLine::Apply(User* u) { - /* Can we force the user to their uid here instead? */ - DefaultApply(u, "Q"); + /* Force to uuid on apply of qline, no need to disconnect any more :) */ + u->ForceNickChange(u->uuid); } -- cgit v1.2.3