Remove empty anonymous sessions after a certain time period
This commit is contained in:
parent
3bcea0ec98
commit
e856b66f97
6 changed files with 77 additions and 14 deletions
|
@ -12,7 +12,7 @@ func reconnectIRC() {
|
|||
for _, user := range storage.LoadUsers() {
|
||||
session := NewSession(user)
|
||||
sessions[user.ID] = session
|
||||
go session.write()
|
||||
go session.run()
|
||||
|
||||
channels := user.GetChannels()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue