apply clang format to proto files (#4123)

* add proto files to clangify

* apply clangify to proto files

* remove blocksonsingleline, it didn't actually do anything

also add missing space to the travis warning, emoji are monospace too
This commit is contained in:
ebbit1q 2020-10-02 18:14:05 +02:00 committed by GitHub
parent e2251fe06b
commit 35fe6f624c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
50 changed files with 59 additions and 90 deletions

View file

@ -3,10 +3,10 @@ syntax = "proto2";
* Historical ban information stored in the ban table
*/
message ServerInfo_Ban {
required string admin_id = 1; // id of the staff member placing the ban
required string admin_name = 2; // name of the staff member placing the ban
required string ban_time = 3; // start time of the ban
required string ban_length = 4; // amount of time in minutes the ban is for
optional string ban_reason = 5; // reason seen only by moderation staff
required string admin_id = 1; // id of the staff member placing the ban
required string admin_name = 2; // name of the staff member placing the ban
required string ban_time = 3; // start time of the ban
required string ban_length = 4; // amount of time in minutes the ban is for
optional string ban_reason = 5; // reason seen only by moderation staff
optional string visible_reason = 6; // reason shown to the user
}