Commit 9f54ad4e by James R.

Improve COM_AddCommand boolean deprecated warning

parent 933ee4e9
......@@ -190,8 +190,9 @@ static int lib_comAddCommand(lua_State *L)
if (lua_type(L, 3) == LUA_TBOOLEAN)
"Using a boolean is deprecated and will be removed.\n"
"Use \"COM_\" flags instead.\n"
"Using a boolean for admin commands is "
"deprecated and will be removed.\n"
"Use \"COM_ADMIN\" instead.\n"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment