diff --git a/Core/Commands/Chat.cs b/Core/Commands/Chat.cs index 0f832ef..b0a249d 100644 --- a/Core/Commands/Chat.cs +++ b/Core/Commands/Chat.cs @@ -21,7 +21,7 @@ namespace BetterSecondBot.HttpService [Route(HttpVerbs.Get, "/LocalChatHistory/{token}")] public object LocalChatHistory(string token) { - if (tokens.Allow(token, "chat", "localchathistory", handleGetClientIP()) == false) + if (tokens.Allow(token, "chat", "LocalChatHistory", handleGetClientIP()) == false) { return Failure("Token not accepted"); }