* riece-options.el (riece-gather-channel-modes): Default to nil.
authorDaiki Ueno <ueno@unixuser.org>
Fri, 24 Oct 2003 23:47:39 +0000 (23:47 +0000)
committerDaiki Ueno <ueno@unixuser.org>
Fri, 24 Oct 2003 23:47:39 +0000 (23:47 +0000)
* riece-handle.el (riece-handle-join-message): Send MODE if
riece-gather-channel-modes is non-nil.

lisp/ChangeLog
lisp/riece-handle.el
lisp/riece-options.el

index a3640f4..ab05f75 100644 (file)
@@ -1,5 +1,9 @@
 2003-10-24  Daiki Ueno  <ueno@unixuser.org>
 
+       * riece-options.el (riece-gather-channel-modes): Default to nil.
+       * riece-handle.el (riece-handle-join-message): Send MODE if
+       riece-gather-channel-modes is non-nil.
+
        * riece-url.el: Add autoload setting for 'browse-url.
 
        * riece-menu.el: Require 'riece-options, 'riece-globals,
index 6d36577..f683a0a 100644 (file)
         (user-identity (riece-make-identity user riece-server-name)))
     (while channels
       (riece-naming-assert-join user (car channels))
+      (if riece-gather-channel-modes
+         (riece-send-string (format "MODE %s\r\n" (car channels))))
       (let* ((channel-identity (riece-make-identity (car channels)
                                                    riece-server-name))
             (buffer (riece-channel-buffer channel-identity)))
index f4dbbed..945c699 100644 (file)
@@ -244,7 +244,7 @@ way is to put Riece variables on .emacs or file loaded from there."
   :type '(radio (string :tag "Away message"))
   :group 'riece-options)
 
-(defcustom riece-gather-channel-modes t
+(defcustom riece-gather-channel-modes nil
   "If non-nil, gather channel modes when we join a channel."
   :type 'boolean
   :group 'riece-options)