Completed
Push — master ( 993538...3d5db6 )
by Sam
02:07
created
hooks/rcon_ban.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,7 @@
 block discarded – undo
19 19
         {
20 20
             $rcon = new \Nizarii\ARC(decrypt($server->sq_ip), decrypt($server->rcon_pass), (int)decrypt($server->sq_port));
21 21
             $answer = $rcon->banPlayer($rid, $reason, $time);
22
-        }
23
-        catch (Exception $e)
22
+        } catch (Exception $e)
24 23
         {
25 24
             echo $e->getMessage( );
26 25
         }
Please login to merge, or discard this patch.
hooks/rcon_command.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,8 +20,7 @@
 block discarded – undo
20 20
             {
21 21
                 $rcon = new \Nizarii\ARC(decrypt($server->sq_ip), decrypt($server->rcon_pass), (int)decrypt($server->sq_port));
22 22
                 $answer = $rcon->command($cmd);
23
-            }
24
-            catch (Exception $e)
23
+            } catch (Exception $e)
25 24
             {
26 25
                 echo $e->getMessage( );
27 26
             }
Please login to merge, or discard this patch.
hooks/rcon_players.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,7 @@
 block discarded – undo
16 16
 
17 17
             echo json_encode($answer);
18 18
 
19
-        }
20
-        catch (Exception $e)
19
+        } catch (Exception $e)
21 20
         {
22 21
             echo $e->getMessage( );
23 22
             var_dump($e);
Please login to merge, or discard this patch.