summaryrefslogtreecommitdiff
path: root/db/repl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'db/repl.cpp')
-rw-r--r--db/repl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/repl.cpp b/db/repl.cpp
index d18efc1ec08..36fd6161f61 100644
--- a/db/repl.cpp
+++ b/db/repl.cpp
@@ -325,7 +325,7 @@ namespace mongo {
int was = cmdObj.getIntField("i_was");
string myname = cmdObj.getStringField("your_name");
- if ( myname.empty() || was < -1 ) {
+ if ( myname.empty() || was < -3 ) {
errmsg = "your_name/i_was not specified";
return false;
}