Ticket #914: 914_fix.patch

File 914_fix.patch, 416 bytes (added by Christian Kellermann, 11 years ago)

patch to correctly detect error codes from ircd

  • irc.scm

     
    251251                    num cnt
    252252                    (current-seconds)
    253253                    s prefix command params) ] )
    254          (if (and num (>= 400 num 599))
     254         (if (and num (<= 400 num 599))
    255255             (irc:error msg)
    256256             msg) ) ]
    257257      [_ (make-irc:message #f cnt (current-seconds) s '() #f '())] ) ) )