diff options
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; } |