Hi Julien,

Thanks. Committed as r237.

Bye,

Erik.


On Sun, Jan 13, 2013 at 3:04 PM, Julien Danjou <julien@danjou.info> wrote:
The mode needs to be added on the channel, not the the target.

Signed-off-by: Julien Danjou <julien@danjou.info>
---
 event.lisp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/event.lisp b/event.lisp
index eb97fc9..5e6e417 100644
--- a/event.lisp
+++ b/event.lisp
@@ -289,7 +289,7 @@ objects in sync."))
             (op mode-name value)
             change
           (unless (has-mode-p channel mode-name)
-            (add-mode target mode-name
+            (add-mode channel mode-name
                       (make-mode connection channel mode-name)))
           (funcall (if (char= #\+ op) #'set-mode #'unset-mode)
                    channel mode-name value)))))))
--
1.8.1


_______________________________________________
cl-irc-devel site list
cl-irc-devel@common-lisp.net
http://common-lisp.net/mailman/listinfo/cl-irc-devel