Changeset 120 for binary-improvements


Ignore:
Timestamp:
Aug 16, 2014, 10:00:12 AM (5 years ago)
Author:
alloc
Message:

Fixes: Permission fix

Location:
binary-improvements
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/7dtd-server-fixes/src/AdminToolsStuff.cs

    r107 r120  
    1010                try {
    1111                        AdminToolsClientInfo tmpInfo = admTools.GetClientCommandInfo (_steamID);
     12                        if (tmpInfo.SteamID == null || tmpInfo.SteamID.Length == 0)
     13                        {
     14                                tmpInfo.PermissionLevel = 1000;
     15                        }
    1216
    1317                        List<AdminToolsCommandPermissions> perms = admTools.commandPermissions;
     
    3640                                }
    3741                        }
     42
    3843                } catch (Exception e) {
    3944                        Log.Out ("Error in GetAllowedCommandsList: " + e);
  • binary-improvements/server-fixes.userprefs

    r117 r120  
    11<Properties>
    22  <MonoDevelop.Ide.Workspace ActiveConfiguration="Release" />
    3   <MonoDevelop.Ide.Workbench ActiveDocument="7dtd-server-fixes/src/TelnetCommands/Kill.cs">
     3  <MonoDevelop.Ide.Workbench ActiveDocument="7dtd-server-fixes/src/AdminToolsStuff.cs">
    44    <Files>
    55      <File FileName="assembly-patcher/Main.cs" Line="10" Column="3" />
     
    77      <File FileName="7dtd-server-fixes/src/TelnetCommands/ListPlayersExtended.cs" Line="44" Column="25" />
    88      <File FileName="7dtd-server-fixes/src/TelnetCommands/Kill.cs" Line="36" Column="70" />
     9      <File FileName="7dtd-server-fixes/src/AllocsNetTelnetServer.cs" Line="1" Column="1" />
     10      <File FileName="7dtd-server-fixes/src/AdminToolsStuff.cs" Line="43" Column="1" />
    911    </Files>
    1012  </MonoDevelop.Ide.Workbench>
Note: See TracChangeset for help on using the changeset viewer.