mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 03:59:03 -04:00
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
This commit is contained in:
parent
a0defce6dc
commit
85a79e990d
@ -483,8 +483,8 @@ bool QLine::Matches(User *u)
|
|||||||
|
|
||||||
void QLine::Apply(User* u)
|
void QLine::Apply(User* u)
|
||||||
{
|
{
|
||||||
/* Can we force the user to their uid here instead? */
|
/* Force to uuid on apply of qline, no need to disconnect any more :) */
|
||||||
DefaultApply(u, "Q");
|
u->ForceNickChange(u->uuid);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user