diff options
author | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-10 16:17:16 +0000 |
---|---|---|
committer | rburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864> | 2009-02-10 16:17:16 +0000 |
commit | fe39b96db7735ceb243f1f09e3d41633d803445f (patch) | |
tree | fc52494d6f235aa3bcf7b0e4ebe89726e60e5c21 /src/core/os_admin.c | |
parent | e225e7e6286adafb7c720e7718cd758556be352e (diff) |
Fix modules to use the right type (CommandReturn, not CommandResult)
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1977 5417fbe8-f217-4b02-8779-1006273d7864
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(); |