]> jfr.im git - irc/unrealircd/unrealircd-webpanel.git/blobdiff - misc/server-lookup-misc.php
Fix setting zlines on idents, reported by Jellis
[irc/unrealircd/unrealircd-webpanel.git] / misc / server-lookup-misc.php
index 8902ac76049ff608b4923c8957f50451805bcb4a..02464b74f7ca49ff1dc08c11fd4c4c071b3741a9 100644 (file)
@@ -349,9 +349,10 @@ function generate_html_extserverinfo($server)
             </tr><tr>
                 <th>Protocol</th>
                 <td colspan="2"><a href="https://www.unrealircd.org/docs/Server_protocol:Protocol_version"><code><?php echo htmlspecialchars($server->server->features->protocol); ?></code></a></td>
-            </tr><tr>
+            </tr>
+<?php if (property_exists($server, "tls")) { ?>
+            <tr>
                 <th>TLS</th>
-
                 <td colspan="2">
                     <table>
                         <tr>
@@ -365,6 +366,7 @@ function generate_html_extserverinfo($server)
                     </table>
                 </td>
             </tr>
+<?php } ?>
         </tbody>
     </table>
     <?php