summaryrefslogtreecommitdiff
path: root/src/modules/m_close.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_close.cpp')
-rw-r--r--src/modules/m_close.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_close.cpp b/src/modules/m_close.cpp
index 5c0c0188b..3a4ee66f0 100644
--- a/src/modules/m_close.cpp
+++ b/src/modules/m_close.cpp
@@ -40,7 +40,7 @@ class CommandClose : public Command
std::vector<LocalUser*>::reverse_iterator u = ServerInstance->Users->local_users.rbegin();
while (u != ServerInstance->Users->local_users.rend())
{
- User* user = *u++;
+ LocalUser* user = *u++;
if (user->registered != REG_ALL)
{
ServerInstance->Users->QuitUser(user, "Closing all unknown connections per request");