diff options
Diffstat (limited to 'src/core/os_admin.c')
-rw-r--r-- | src/core/os_admin.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/os_admin.c b/src/core/os_admin.c index 955751629..fcf3e05f7 100644 --- a/src/core/os_admin.c +++ b/src/core/os_admin.c @@ -22,7 +22,7 @@ void myOperServHelp(User *u); class CommandOSAdmin : public Command { private: - CommandResult DoAdd(User *u, std::vector<std::string> ¶ms) + CommandReturn DoAdd(User *u, std::vector<std::string> ¶ms) { const char *nick = params.size() > 1 ? params[1].c_str() : NULL; int res = 0; @@ -84,7 +84,7 @@ class CommandOSAdmin : public Command return MOD_CONT; } - CommandResult DoDel(User *u, std::vector<std::string> ¶ms) + CommandReturn DoDel(User *u, std::vector<std::string> ¶ms) { const char *nick = params.size() > 1 ? params[1].c_str() : NULL; int res = 0; @@ -151,7 +151,7 @@ class CommandOSAdmin : public Command return MOD_CONT; } - CommandResult DoList(User *u, std::vector<std::string> ¶ms) + CommandReturn DoList(User *u, std::vector<std::string> ¶ms) { const char *nick = params.size() > 1 ? params[1].c_str() : NULL; int sent_header = 0, res = 0; @@ -191,7 +191,7 @@ class CommandOSAdmin : public Command return MOD_CONT; } - CommandResult DoClear(User *u, std::vector<std::string> ¶ms) + CommandReturn DoClear(User *u, std::vector<std::string> ¶ms) { if (!is_services_root(u)) { @@ -216,7 +216,7 @@ class CommandOSAdmin : public Command this->help_param1 = s_NickServ; } - CommandResult Execute(User *u, std::vector<std::string> ¶ms) + CommandReturn Execute(User *u, std::vector<std::string> ¶ms) { const char *cmd = params[0].c_str(); |