diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-05 02:29:09 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-05-05 02:29:09 +0000 |
commit | 1b4925f99fb39d59e88c98db7fae8512e7f54c7b (patch) | |
tree | 3e6a25a6a1319cfff8b1f429c7ca5e51b6432928 /src/modules/extra/m_sslinfo.cpp | |
parent | 943aae0168538f7a59f8f6ccabee2568cc3d4ab1 (diff) |
Convert even more
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9630 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_sslinfo.cpp')
-rw-r--r-- | src/modules/extra/m_sslinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/extra/m_sslinfo.cpp b/src/modules/extra/m_sslinfo.cpp index f8a06bc2e..910a6b808 100644 --- a/src/modules/extra/m_sslinfo.cpp +++ b/src/modules/extra/m_sslinfo.cpp @@ -33,7 +33,7 @@ class cmd_sslinfo : public Command this->syntax = "<nick>"; } - CmdResult Handle (const char* const* parameters, int pcnt, User *user) + CmdResult Handle (const std::vector<std::string> ¶meters, User *user) { User* target = ServerInstance->FindNick(parameters[0]); ssl_cert* cert; @@ -58,7 +58,7 @@ class cmd_sslinfo : public Command } } else - user->WriteNumeric(401, "%s %s :No such nickname", user->nick, parameters[0]); + user->WriteNumeric(401, "%s %s :No such nickname", user->nick, parameters[0].c_str()); return CMD_FAILURE; } |