summaryrefslogtreecommitdiff
path: root/shell/mongo_vstudio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shell/mongo_vstudio.cpp')
-rw-r--r--shell/mongo_vstudio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/mongo_vstudio.cpp b/shell/mongo_vstudio.cpp
index c50356e952d..b63cdf74a25 100644
--- a/shell/mongo_vstudio.cpp
+++ b/shell/mongo_vstudio.cpp
@@ -990,7 +990,7 @@ const char * jsconcatcode =
"return this._name;}\n"
"DB.prototype.toString = function(){\n"
"return this._name;}\n"
- "DB.prototype.isMaster = function(){ return db.runCommand(\"isMaster\");}\n"
+ "DB.prototype.isMaster = function(){ return this.runCommand(\"isMaster\");}\n"
"DB.prototype.currentOp = function(){\n"
"return db.$cmd.sys.inprog.findOne();}\n"
"DB.prototype.currentOP = DB.prototype.currentOp;\n"