Ignore:
Timestamp:
Jul 6, 2014, 11:48:08 PM (10 years ago)
Author:
alloc
Message:

v22: Fixed playername getting cut off

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/usr/local/lib/7dtd/monitor-log.sh

    r62 r63  
    2727        fi
    2828
    29         logPlayerConnect $INSTANCE $2 $steamid $3
     29        logPlayerConnect $INSTANCE "$2" "$steamid" "$3"
    3030
    3131        for H in $(getHooksFor playerConnect); do
    32                 $H $INSTANCE $1 $2 $3 $steamid
     32                $H $INSTANCE "$1" "$2" "$3" "$steamid"
    3333        done
    3434}
    3535
    3636handleDisconnect() {
    37         logPlayerDisconnect $INSTANCE $2
     37        logPlayerDisconnect $INSTANCE "$2"
    3838
    3939        for H in $(getHooksFor playerDisconnect); do
    40                 $H $INSTANCE $1 $2 $NICKNAME $STEAMID
     40                $H $INSTANCE "$1" "$2" "$NICKNAME" "$STEAMID"
    4141        done
    4242}
     
    4646       
    4747        for H in $(getHooksFor chat); do
    48                 $H $INSTANCE $1
     48                $H $INSTANCE "$1"
    4949        done
    5050}
Note: See TracChangeset for help on using the changeset viewer.