Cosmetic: Multiple cosmetic changes
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
This commit is contained in:
@@ -2216,7 +2216,7 @@ BanReturn World::BanAccount(BanMode mode, std::string nameOrIP, std::string dura
|
||||
PreparedStatement* stmt = NULL;
|
||||
|
||||
///- Update the database with ban information
|
||||
switch(mode)
|
||||
switch (mode)
|
||||
{
|
||||
case BAN_IP:
|
||||
// No SQL injection with prepared statements
|
||||
|
||||
Reference in New Issue
Block a user