diff -r 5c995a647735 -r d3b2571c378b core/smn_banning.cpp --- a/core/smn_banning.cpp Sun Feb 08 15:40:48 2009 -0500 +++ b/core/smn_banning.cpp Wed Feb 18 02:19:22 2009 -0600 @@ -268,6 +268,7 @@ ban_flags = params[3]; ban_source = params[7]; +#if SOURCE_ENGINE != SE_DARKMESSIAH /* Check how we should ban the player */ if ((ban_flags & BANFLAG_AUTO) == BANFLAG_AUTO) { @@ -303,6 +304,11 @@ { return pContext->ThrowNativeError("No valid ban method flags specified"); } +#else + /* Dark Messiah doesn't have Steam IDs so there is only one ban method to choose */ + ban_flags |= BANFLAG_IP; + ban_flags &= ~BANFLAG_AUTHID; +#endif cell_t handled = 0; if (ban_cmd[0] != '\0' && g_pOnBanClient->GetFunctionCount() > 0)