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_set.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_set.c')
-rw-r--r-- | src/core/os_set.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/os_set.c b/src/core/os_set.c index 769dfbd6a..fa5d163a6 100644 --- a/src/core/os_set.c +++ b/src/core/os_set.c @@ -20,7 +20,7 @@ void myOperServHelp(User *u); class CommandOSSet : public Command { private: - CommandResult DoList(User *u, std::vector<std::string> ¶ms) + CommandReturn DoList(User *u, std::vector<std::string> ¶ms) { int index; @@ -38,7 +38,7 @@ class CommandOSSet : public Command return MOD_CONT; } - CommandResult DoSetIgnore(User *u, std::vector<std::string> ¶ms) + CommandReturn DoSetIgnore(User *u, std::vector<std::string> ¶ms) { const char *setting = params.size() > 1 ? params[1].c_str() : NULL; @@ -64,7 +64,7 @@ class CommandOSSet : public Command return MOD_CONT; } - CommandResult DoSetReadOnly(User *u, std::vector<std::string> ¶ms) + CommandReturn DoSetReadOnly(User *u, std::vector<std::string> ¶ms) { const char *setting = params.size() > 1 ? params[1].c_str() : NULL; @@ -94,7 +94,7 @@ class CommandOSSet : public Command return MOD_CONT; } - CommandResult DoSetLogChan(User *u, std::vector<std::string> ¶ms) + CommandReturn DoSetLogChan(User *u, std::vector<std::string> ¶ms) { const char *setting = params.size() > 1 ? params[1].c_str() : NULL; Channel *c; @@ -136,7 +136,7 @@ class CommandOSSet : public Command return MOD_CONT; } - CommandResult DoSetSuperAdmin(User *u, std::vector<std::string> ¶ms) + CommandReturn DoSetSuperAdmin(User *u, std::vector<std::string> ¶ms) { const char *setting = params.size() > 1 ? params[1].c_str() : NULL; @@ -173,7 +173,7 @@ class CommandOSSet : public Command return MOD_CONT; } - CommandResult DoSetDebug(User *u, std::vector<std::string> ¶ms) + CommandReturn DoSetDebug(User *u, std::vector<std::string> ¶ms) { const char *setting = params.size() > 1 ? params[1].c_str() : NULL; @@ -207,7 +207,7 @@ class CommandOSSet : public Command return MOD_CONT; } - CommandResult DoSetNoExpire(User *u, std::vector<std::string> ¶ms) + CommandReturn DoSetNoExpire(User *u, std::vector<std::string> ¶ms) { const char *setting = params.size() > 1 ? params[1].c_str() : NULL; @@ -239,7 +239,7 @@ class CommandOSSet : public Command { } - CommandResult Execute(User *u, std::vector<std::string> ¶ms) + CommandReturn Execute(User *u, std::vector<std::string> ¶ms) { char *option = params[0].c_str(); char *setting = strtok(NULL, " "); |