summaryrefslogtreecommitdiffstats
path: root/bin/ircsink
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2021-12-28 22:54:16 +0100
committertv <tv@krebsco.de>2021-12-28 22:54:16 +0100
commit0dce9ca255bbd46216a756c45cd02158abe42e8b (patch)
treea0d74648beaaedcbe98969e18c54a9868a6aa211 /bin/ircsink
parent72fbd0ac7ad68d2779897c1af7da98010923fa98 (diff)
ircsink: admit RPL_UMODEIS1.1.0
Diffstat (limited to 'bin/ircsink')
-rwxr-xr-xbin/ircsink3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ircsink b/bin/ircsink
index fafa4a7..3e91726 100755
--- a/bin/ircsink
+++ b/bin/ircsink
@@ -150,6 +150,9 @@ main() {(
# wait for MODE message
/^:[^ ]* MODE /q
+ # alternatively wait for RPL_UMODEIS (221), used by ergochat
+ /^:[^ ]* 221 /q
+
# answer any PING messages while waiting
s/^PING (:.*)/PONG \1/p
'