diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/commands.c | 4 | ||||
-rw-r--r-- | src/core/bs_help.c | 1 | ||||
-rw-r--r-- | src/core/cs_help.c | 2 | ||||
-rw-r--r-- | src/core/cs_info.c | 2 | ||||
-rw-r--r-- | src/core/hs_help.c | 1 | ||||
-rw-r--r-- | src/core/ms_help.c | 1 | ||||
-rw-r--r-- | src/core/ns_help.c | 1 | ||||
-rw-r--r-- | src/core/ns_identify.c | 1 | ||||
-rw-r--r-- | src/core/ns_info.c | 1 |
9 files changed, 12 insertions, 2 deletions
diff --git a/src/commands.c b/src/commands.c index d2c33d34c..a9ab5f052 100644 --- a/src/commands.c +++ b/src/commands.c @@ -83,6 +83,10 @@ void mod_run_cmd(char *service, User * u, CommandHash * cmdTable[], const char * return; } } + else + { + // Check whether or not access string is empty + } /* XXX: priv checking diff --git a/src/core/bs_help.c b/src/core/bs_help.c index 181f8e16f..ae26ab9d1 100644 --- a/src/core/bs_help.c +++ b/src/core/bs_help.c @@ -20,6 +20,7 @@ class CommandBSHelp : public Command public: CommandBSHelp() : Command("HELP", 1, 1) { + this->SetFlag(CFLAG_ALLOW_UNREGISTERED); } CommandReturn Execute(User *u, std::vector<std::string> ¶ms) diff --git a/src/core/cs_help.c b/src/core/cs_help.c index 4d71be428..eadc0ea8f 100644 --- a/src/core/cs_help.c +++ b/src/core/cs_help.c @@ -20,7 +20,7 @@ class CommandCSHelp : public Command public: CommandCSHelp() : Command("HELP", 0, 2) { - + this->SetFlag(CFLAG_ALLOW_UNREGISTERED); } CommandReturn Execute(User *u, std::vector<std::string> ¶ms) diff --git a/src/core/cs_info.c b/src/core/cs_info.c index 3f2da5200..4bb8495e4 100644 --- a/src/core/cs_info.c +++ b/src/core/cs_info.c @@ -43,7 +43,7 @@ class CommandCSInfo : public Command public: CommandCSInfo() : Command("INFO", 1, 2) { - + this->SetFlag(CFLAG_ALLOW_UNREGISTERED); } CommandReturn Execute(User *u, std::vector<std::string> ¶ms) diff --git a/src/core/hs_help.c b/src/core/hs_help.c index 8e542602b..86c12223d 100644 --- a/src/core/hs_help.c +++ b/src/core/hs_help.c @@ -20,6 +20,7 @@ class CommandHSHelp : public Command public: CommandHSHelp() : Command("HELP", 1, 1) { + this->SetFlag(CFLAG_ALLOW_UNREGISTERED); } CommandReturn Execute(User *u, std::vector<std::string> ¶ms) diff --git a/src/core/ms_help.c b/src/core/ms_help.c index 687944961..20471a1c4 100644 --- a/src/core/ms_help.c +++ b/src/core/ms_help.c @@ -20,6 +20,7 @@ class CommandMSHelp : public Command public: CommandMSHelp() : Command("HELP", 1, 1) { + this->SetFlag(CFLAG_ALLOW_UNREGISTERED); } CommandReturn Execute(User *u, std::vector<std::string> ¶ms) diff --git a/src/core/ns_help.c b/src/core/ns_help.c index 339b11f25..daef3c97a 100644 --- a/src/core/ns_help.c +++ b/src/core/ns_help.c @@ -20,6 +20,7 @@ class CommandNSHelp : public Command public: CommandNSHelp() : Command("HELP", 1, 1) { + this->SetFlag(CFLAG_ALLOW_UNREGISTERED); } CommandReturn Execute(User *u, std::vector<std::string> ¶ms) diff --git a/src/core/ns_identify.c b/src/core/ns_identify.c index 5e4fc0939..14d4f4188 100644 --- a/src/core/ns_identify.c +++ b/src/core/ns_identify.c @@ -25,6 +25,7 @@ class CommandNSIdentify : public Command public: CommandNSIdentify(const std::string &cname) : Command(cname, 1, 1) { + this->SetFlag(CFLAG_ALLOW_UNREGISTERED); } CommandReturn Execute(User *u, std::vector<std::string> ¶ms) diff --git a/src/core/ns_info.c b/src/core/ns_info.c index 89171414f..ac586746c 100644 --- a/src/core/ns_info.c +++ b/src/core/ns_info.c @@ -35,6 +35,7 @@ class CommandNSInfo : public Command public: CommandNSInfo() : Command("INFO", 1, 2) { + this->SetFlag(CFLAG_ALLOW_UNREGISTERED); } CommandReturn Execute(User *u, std::vector<std::string> ¶ms) |