From 3cf993500544c2157992650da2487bfa89be405d Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Fri, 2 Apr 2010 10:39:15 -0500 Subject: Use FindNickOnly in a few commands to prevent enumerating users via UID walking --- src/modules/m_dccallow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_dccallow.cpp') diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 68090a8c3..5995c1b28 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -88,7 +88,7 @@ class CommandDccallow : public Command } std::string nick = parameters[0].substr(1); - User *target = ServerInstance->FindNick(nick); + User *target = ServerInstance->FindNickOnly(nick); if (target) { -- cgit v1.3.1-10-gc9f91