[cl-irc-devel] patch: make mode list parsing work on ircnet servers

Andreas Fuchs asf at boinkor.net
Sun Feb 5 21:43:37 UTC 2006


Hi all,

cl-irc's mode list parsing expects a set-by and set-at argument in
rpl_*list messages. IRCNet servers don't always send them, as the
parsing routine doesn't use the args anyway, this patch makes them
&optional:

--- event.lisp  27 Jan 2006 21:10:02 -0000      1.13
+++ event.lisp  5 Feb 2006 21:36:27 -0000
@@ -26,7 +26,7 @@
   `(progn
      (defmethod default-hook ((message ,listmsg-class))
        (destructuring-bind
-           (target channel-name mask set-by time-set)
+           (target channel-name mask &optional set-by time-set)
            (arguments message)
          (declare (ignore target set-by time-set))
          ;; note: the structure currently does not allow for logging

Cheers,
-- 
Andreas Fuchs, (http://|im:asf@|mailto:asf@)boinkor.net, antifuchs



More information about the cl-irc-devel mailing list