summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-02 21:27:01 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-11-02 21:27:01 +0000
commit85a79e990de2b1c05a161ea49857a9586567b8c2 (patch)
tree771112c034afe58a2c515a1080b115d869c68549 /src
parenta0defce6dc8a2d69d99fa05d33cdb6a6a5a4a4d9 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/xline.cpp4
1 files 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);
}