mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-30 16:39:21 +01:00
@@ -264,6 +264,7 @@ namespace Tgstation.Server.Host.Controllers
|
||||
|| CheckModified(x => x.Name, ChatBotRights.WriteName)
|
||||
|| CheckModified(x => x.Provider, ChatBotRights.WriteProvider)
|
||||
|| CheckModified(x => x.ReconnectionInterval, ChatBotRights.WriteReconnectionInterval)
|
||||
|| CheckModified(x => x.ChannelLimit, ChatBotRights.WriteChannelLimit)
|
||||
|| (model.Channels != null && !userRights.HasFlag(ChatBotRights.WriteChannels)))
|
||||
return Forbid();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user