]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules.cpp
Add mode +b to active list
[user/henk/code/inspircd.git] / src / modules.cpp
index 4e98696bd3b854ebb8eb296e413a0b7fbb8e15d9..92841cb2bd38bb9dc326b9107046fb076653b62e 100644 (file)
@@ -351,7 +351,7 @@ long Server::PriorityBefore(const std::string &modulename)
        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())
        {
@@ -361,7 +361,7 @@ bool Server::PublishFeature(std::string FeatureName, Module* Mod)
        return false;
 }
 
-bool Server::UnpublishFeature(std::string FeatureName)
+bool Server::UnpublishFeature(const std::string &FeatureName)
 {
        featurelist::iterator iter = Features.find(FeatureName);
        
@@ -372,7 +372,7 @@ bool Server::UnpublishFeature(std::string FeatureName)
        return true;
 }
 
-Module* Server::FindFeature(std::string FeatureName)
+Module* Server::FindFeature(const std::string &FeatureName)
 {
        featurelist::iterator iter = Features.find(FeatureName);
 
@@ -525,7 +525,7 @@ void Server::AddCommand(command_t *f)
 
 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)