summaryrefslogtreecommitdiff
path: root/src/modules/m_userip.cpp
diff options
context:
space:
mode:
authorpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-05 02:43:28 +0000
committerpeavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-05 02:43:28 +0000
commitbf5a8dc97fd0e8dee0d0a1946d4fcd31bebb4a24 (patch)
tree454b870edd7dfc3f83d84f2659c557cd61af1a5f /src/modules/m_userip.cpp
parente95f77bc9981b3e232899e8ff5e7d140efed92b7 (diff)
Convertions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9634 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_userip.cpp')
-rw-r--r--src/modules/m_userip.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_userip.cpp b/src/modules/m_userip.cpp
index c672b1483..d7c5792e8 100644
--- a/src/modules/m_userip.cpp
+++ b/src/modules/m_userip.cpp
@@ -26,11 +26,11 @@ class CommandUserip : public Command
syntax = "<nick>{,<nick>}";
}
- CmdResult Handle (const char* const* parameters, int pcnt, User *user)
+ CmdResult Handle (const std::vector<std::string> &parameters, User *user)
{
std::string retbuf = std::string("340 ") + user->nick + " :";
- for (int i = 0; i < pcnt; i++)
+ for (int i = 0; i < (int)parameters.size(); i++)
{
User *u = ServerInstance->FindNick(parameters[i]);
if ((u) && (u->registered == REG_ALL))