aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/scriptapi.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scriptapi.cpp b/src/scriptapi.cpp
index f95f5a29d..13696eabf 100644
--- a/src/scriptapi.cpp
+++ b/src/scriptapi.cpp
@@ -906,7 +906,7 @@ static int l_get_modnames(lua_State *L)
{
bool added = false;
for(std::list<std::string>::iterator x = mods_sorted.begin();
- x != mods_unsorted.end(); ++x)
+ x != mods_sorted.end(); ++x)
{
// I doubt anybody using Minetest will be using
// anything not ASCII based :)