mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-20 02:00:11 -08:00
Enhancements to CS PURGE
1. Consolidate PURGE and UNPURGE into subcommands 2. Add PURGE LIST 3. PURGE ADD now requires a confirmation code Fixes #1294
This commit is contained in:
parent
4d5815ab2e
commit
fd71b79bb8
3 changed files with 76 additions and 19 deletions
|
|
@ -523,3 +523,10 @@ func (channel *Channel) setForward(forward string) {
|
|||
channel.forward = forward
|
||||
channel.stateMutex.Unlock()
|
||||
}
|
||||
|
||||
func (channel *Channel) Ctime() (ctime time.Time) {
|
||||
channel.stateMutex.RLock()
|
||||
ctime = channel.createdTime
|
||||
channel.stateMutex.RUnlock()
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue