Cope with libpurple weirdness
This commit is contained in:
parent
21131dc02c
commit
94c66094e6
|
@ -147,7 +147,8 @@
|
|||
(send! (ircd-action this-conn m))
|
||||
(match m
|
||||
[(irc-message _ "PING" _ _) (void)] ;; RFC says servers don't reply to PINGs
|
||||
[(irc-message _ "PASS" (list P) _)
|
||||
[(or (irc-message _ "PASS" (list P) _)
|
||||
(irc-message _ "PASS" '() P)) ;; libpurple does this (!)
|
||||
(if (registered?)
|
||||
(send* 462 (nick) #:trailing "You may not reregister")
|
||||
(password P))]
|
||||
|
|
Loading…
Reference in New Issue