return PRIORITY_DONTCARE;
}
-bool Server::PublishFeature(std::string FeatureName, Module* Mod)
+bool Server::PublishFeature(const std::string &FeatureName, Module* Mod)
{
if (Features.find(FeatureName) == Features.end())
{
return false;
}
-bool Server::UnpublishFeature(std::string FeatureName)
+bool Server::UnpublishFeature(const std::string &FeatureName)
{
featurelist::iterator iter = Features.find(FeatureName);
return true;
}
-Module* Server::FindFeature(std::string FeatureName)
+Module* Server::FindFeature(const std::string &FeatureName)
{
featurelist::iterator iter = Features.find(FeatureName);
void Server::SendMode(char **parameters, int pcnt, userrec *user)
{
- ServerInstance->ModeGrok->ServerMode(parameters,pcnt,user);
+ //ServerInstance->ModeGrok->ServerMode(parameters,pcnt,user);
}
void Server::Send(int Socket, const std::string &s)