Skip to content

fix g_maplist_remove completely breaking due to argv override

Dr. Jaska requested to merge drjaska/maplist-remove into master

Fix g_maplist_remove alias command from ignoring its argument and always deleting the 3rd map in the list.

Closes #2719 (closed)

Expected behavior:
]g_maplist
"g_maplist" is "afterslime xoylent measurements vorix" [""]
]g_maplist_remove "asdf"
]g_maplist
"g_maplist" is "afterslime xoylent measurements vorix" [""]
]g_maplist_remove "vorix"
]g_maplist
"g_maplist" is "afterslime xoylent measurements" [""]

Merge request reports