* OnPreCommand()
* Intercept the LIST command.
*/
- virtual int OnPreCommand(const std::string &command, char **parameters, int pcnt, userrec *user, bool validated)
+ virtual int OnPreCommand(const std::string &command, const char** parameters, int pcnt, userrec *user, bool validated)
{
/* If the command doesnt appear to be valid, we dont want to mess with it. */
if (!validated)
virtual Priority Prioritize()
{
- return Srv->PriorityBefore("m_safelist.so");
+ return (Priority)Srv->PriorityBefore("m_safelist.so");
}
};