aboutsummaryrefslogtreecommitdiffstats
path: root/src/xline.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2019-02-07 12:18:12 +0000
committerGravatar Sadie Powell2019-02-07 12:18:12 +0000
commit2cc168cfc030497464e0cf30c19260f62670c298 (patch)
treee983613e81bc034fc797d0015630ffafc200f87c /src/xline.cpp
parentSnomaskManager: remove fakederef. (diff)
UserManager: remove fakederef.
Diffstat (limited to 'src/xline.cpp')
-rw-r--r--src/xline.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index 0f42ef772..b1cd826bf 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -531,9 +531,9 @@ void XLine::DefaultApply(User* u, const std::string &line, bool bancache)
u->WriteNumeric(ERR_YOUREBANNEDCREEP, ServerInstance->Config->XLineMessage);
if (ServerInstance->Config->HideBans)
- ServerInstance->Users->QuitUser(u, line + "-lined", &banReason);
+ ServerInstance->Users.QuitUser(u, line + "-lined", &banReason);
else
- ServerInstance->Users->QuitUser(u, banReason);
+ ServerInstance->Users.QuitUser(u, banReason);
if (bancache)