aboutsummaryrefslogtreecommitdiffstats
path: root/src/xline.cpp
diff options
context:
space:
mode:
authorGravatar Attila Molnar2014-07-03 12:27:24 +0200
committerGravatar Attila Molnar2014-07-03 12:27:24 +0200
commit393cc8f9d65aefd92628115edae341562ea440e7 (patch)
tree65265c2c1e162cf228c0ea55ce5081c27bf1645f /src/xline.cpp
parentMove calling the OnUserPreNick() hook and the restrictbannedusers check from ... (diff)
Remove now needless User::ForceNickChange()
Change call sites to call ChangeNick()
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index c48db51b1..b74fda3cf 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -641,7 +641,7 @@ bool QLine::Matches(User *u)
void QLine::Apply(User* u)
{
/* Force to uuid on apply of qline, no need to disconnect any more :) */
- u->ForceNickChange(u->uuid);
+ u->ChangeNick(u->uuid);
}