public banDate in bannedUser

Post here your suggestions for new possible features in SmartFoxServer.

Moderators: Lapo, Bax

Post Reply
no-one
Posts: 35
Joined: 01 Sep 2007, 16:42

public banDate in bannedUser

Post by no-one »

could you change to the variable banDate to be public or make a SetBanDate.

Code: Select all

    
    public long SetBanDate(long date)
    {
      banDate = date;
    }
its would be useful for my moderators to be able to change or set different ban lengths.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Nice, in other words the mod would be able to leave the default setting or specify a custom duration of the ban... correct?
Lapo
--
gotoAndPlay()
...addicted to flash games
no-one
Posts: 35
Joined: 01 Sep 2007, 16:42

Post by no-one »

correct :D
aMUSiC
Posts: 48
Joined: 15 Dec 2007, 17:15

Post by aMUSiC »

Second that!

banUser() could be enhanced with an extra parameter for ban duration in seconds.
Post Reply