summaryrefslogtreecommitdiff
path: root/src/modules/m_dccallow.cpp
diff options
context:
space:
mode:
authorDaniel De Graaf <danieldg@inspircd.org>2010-04-02 10:39:15 -0500
committerDaniel De Graaf <danieldg@inspircd.org>2010-04-02 10:39:15 -0500
commit3cf993500544c2157992650da2487bfa89be405d (patch)
tree6c90eba384e2361114752a28a166ef4d1fe6d80b /src/modules/m_dccallow.cpp
parentcd6b7a8cda83f54679634624e84e92b91cf80683 (diff)
Use FindNickOnly in a few commands to prevent enumerating users via UID walking
Diffstat (limited to 'src/modules/m_dccallow.cpp')
-rw-r--r--src/modules/m_dccallow.cpp2
1 files changed, 1 insertions, 1 deletions
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)
{