diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-01-19 16:48:41 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-01-19 16:48:41 +0100 |
commit | f75a0d5482a09fffc0cc6cfece80bb2f1e4de815 (patch) | |
tree | e2031e58b6166c7690e1968be21f2294a4e81ef1 /src/modules/m_userip.cpp | |
parent | 69af56f973b9d31f5ebd7d83e6afedb59bb08c92 (diff) |
Use FindNickOnly() in a few more places if a local user is performing an action to prevent UID walking
Diffstat (limited to 'src/modules/m_userip.cpp')
-rw-r--r-- | src/modules/m_userip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp index 5ea84c04a..33b261ca1 100644 --- a/src/modules/m_userip.cpp +++ b/src/modules/m_userip.cpp @@ -42,7 +42,7 @@ class CommandUserip : public Command for (int i = 0; i < (int)parameters.size(); i++) { - User *u = ServerInstance->FindNick(parameters[i]); + User *u = ServerInstance->FindNickOnly(parameters[i]); if ((u) && (u->registered == REG_ALL)) { // Anyone may query their own IP |