]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/commit
Make API pages return empty data / die when server is not available.
authorBram Matthys <redacted>
Wed, 26 Apr 2023 16:27:57 +0000 (18:27 +0200)
committerBram Matthys <redacted>
Wed, 26 Apr 2023 16:27:57 +0000 (18:27 +0200)
commitcefec45f564c8dfc3de8e716b1cb880eeff01d81
tree4ded280c70e02a678eb4454abc763e6c8eaf800f
parent3c5d62983b107f5efcf88820ae6de7d567d5df83
Make API pages return empty data / die when server is not available.
This fixes annoying JS popup in "Users" and "Server bans" when the
IRC server is down.
api/notification.php
api/overview.php
api/server-bans.php
api/users.php
inc/connection.php