an experimental irc client

irc: use posix.shutdown on exit

Some servers need us to do a shutdown

rockorager.dev 4fb42b83 6de3d13b

verified
+1
+1
src/irc.zig
··· 1772 1772 if (self.config.tls) { 1773 1773 self.client.close() catch {}; 1774 1774 } 1775 + std.posix.shutdown(self.stream.handle, .both) catch {}; 1775 1776 self.stream.close(); 1776 1777 } 1777 1778