1
0
Fork 0
forked from External/grumble

Fix fixme in userEnterChannel().

This commit is contained in:
Mikkel Krautz 2011-11-12 21:59:33 +01:00
parent b1d6717a04
commit 0fde3b9ae9
2 changed files with 23 additions and 1 deletions

View file

@ -994,7 +994,9 @@ func (server *Server) userEnterChannel(client *Client, channel *Channel, usersta
channel.AddClient(client)
server.ClearCaches()
// fixme(mkrautz): Set LastChannel for user in datastore
server.UpdateFrozenUserLastChannel(client)
// fixme(mkrautz): Remove channel if temporary
canspeak := server.HasPermission(client, channel, SpeakPermission)