summary refs log tree commit diff
path: root/config.h
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2026-02-05 12:53:36 +0300
committerNakidai <nakidai@disroot.org>2026-02-05 12:53:36 +0300
commitc638c90e5545111fd1217c777724397759dc06d7 (patch)
tree9917543314f7f74ea1bca2004bc4f05711d4ea78 /config.h
parenteba9ea345af1f259bf27936f3d0941ab2a2f5bfb (diff)
downloadlibreircd-c638c90e5545111fd1217c777724397759dc06d7.tar.gz
libreircd-c638c90e5545111fd1217c777724397759dc06d7.zip
Add NAMES
So not it can show who's on the channel, yay. Though, no showing ops
Diffstat (limited to 'config.h')
-rw-r--r--config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.h b/config.h
index dce385b..1aefc9d 100644
--- a/config.h
+++ b/config.h
@@ -39,4 +39,4 @@
 #define PEER_PINGTIMEOUT 120
 #define PEER_PONGTIMEOUT 20
 
-#define POLL_TIMEOUT (PEER_PINGTIMEOUT < PEER_PONGTIMEOUT ? PEER_PINGTIMEOUT : PEER_PONGTIMEOUT)
+#define POLL_TIMEOUT min(PEER_PINGTIMEOUT, PEER_PONGTIMEOUT)