summaryrefslogtreecommitdiff
path: root/src/modules/m_randquote.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_randquote.cpp')
-rw-r--r--src/modules/m_randquote.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_randquote.cpp b/src/modules/m_randquote.cpp
index 0353ae939..38c11ff95 100644
--- a/src/modules/m_randquote.cpp
+++ b/src/modules/m_randquote.cpp
@@ -31,7 +31,7 @@ class CommandRandquote : public Command
this->source = "m_randquote.so";
}
- CmdResult Handle (const char* const* parameters, int pcntl, User *user)
+ CmdResult Handle (const std::vector<std::string>& parameters, User *user)
{
std::string str;
int fsize;
@@ -107,7 +107,7 @@ class ModuleRandQuote : public Module
virtual void OnUserConnect(User* user)
{
if (mycommand)
- mycommand->Handle(NULL, 0, user);
+ mycommand->Handle(std::vector<std::string>(), user);
}
};