this->source = "m_randquote.so";
}
- void Handle (char** parameters, int pcntl, userrec *user)
+ void Handle (const char** parameters, int pcntl, userrec *user)
{
std::string str;
int fsize;
{
RandquoteException e("m_randquote: Quotefile not specified - Please check your config.");
throw(e);
- }
+ }
quotes = new FileReader(q_file);
if(!quotes->Exists())
virtual ~ModuleRandQuote()
{
- delete conf;
- delete quotes;
+ DELETE(conf);
+ DELETE(quotes);
}
virtual Version GetVersion()