Coding style fixes, mostly indentation and whitespace
This commit is contained in:
parent
8a0d117d45
commit
373651359e
47 changed files with 131 additions and 130 deletions
|
@ -167,7 +167,7 @@ disable_coms(void)
|
|||
cmd = comtch(name, player_coms, -1);
|
||||
if (cmd < 0) {
|
||||
logerror("Warning: not disabling %s command %s\n",
|
||||
cmd == M_NOTUNIQUE ? "ambiguous" : "unknown", name);
|
||||
cmd == M_NOTUNIQUE ? "ambiguous" : "unknown", name);
|
||||
continue;
|
||||
}
|
||||
player_coms[cmd].c_permit |= GOD;
|
||||
|
@ -219,7 +219,7 @@ update_timeused(time_t now)
|
|||
void
|
||||
enforce_minimum_session_time(void)
|
||||
{
|
||||
struct natstr *natp = getnatp(player->cnum);
|
||||
struct natstr *natp = getnatp(player->cnum);
|
||||
|
||||
time_t dt = natp->nat_last_logout - natp->nat_last_login;
|
||||
if (dt > seconds_since_midnight(natp->nat_last_logout))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue