[cl-irc-devel] [PATCH 2/6] Fix rpl_channelmodeis handling
Julien Danjou
julien at danjou.info
Sun Jan 13 14:04:19 UTC 2013
The mode needs to be added on the channel, not the the target.
Signed-off-by: Julien Danjou <julien at 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
More information about the cl-irc-devel
mailing list