diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-05 00:18:01 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-05 00:18:01 +0000 |
commit | 5f6955a43ee286925d9f79affcb2fdd5e9306fe6 (patch) | |
tree | 31a239d90de618836cae746040e8f229f209a995 /src/modules/m_globops.cpp | |
parent | 8e89fe75f9467969bce1dc6930befc6ef273edf6 (diff) |
Convert convert convert
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9624 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_globops.cpp')
-rw-r--r-- | src/modules/m_globops.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_globops.cpp b/src/modules/m_globops.cpp index b16b1ee1c..81aef9f57 100644 --- a/src/modules/m_globops.cpp +++ b/src/modules/m_globops.cpp @@ -29,12 +29,12 @@ class CommandGlobops : public Command TRANSLATE2(TR_TEXT, TR_END); } - CmdResult Handle (const char* const* parameters, int pcnt, User *user) + CmdResult Handle (const std::vector<std::string> ¶meters, User *user) { std::string line = "From " + std::string(user->nick) + ": "; - for (int i = 0; i < pcnt; i++) + for (int i = 0; i < (int)parameters.size(); i++) { - line = line + std::string(parameters[i]) + " "; + line = line + parameters[i] + " "; } ServerInstance->SNO->WriteToSnoMask('g',line); |