summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/users.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp
index cfdd1f0b5..b8a2d31a8 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -314,10 +314,10 @@ bool UserIOHandler::OnSetEndPoint(const irc::sockets::sockaddrs& server, const i
return !user->quitting;
}
-void UserIOHandler::OnError(BufferedSocketError error)
+void UserIOHandler::OnError(BufferedSocketError sockerr)
{
ModResult res;
- FIRST_MOD_RESULT(OnConnectionFail, res, (user, error));
+ FIRST_MOD_RESULT(OnConnectionFail, res, (user, sockerr));
if (res != MOD_RES_ALLOW)
ServerInstance->Users->QuitUser(user, getError());
}