(riece-command-switch-to-channel-by-number): Fixed.
authorDaiki Ueno <ueno@unixuser.org>
Thu, 23 Oct 2003 12:25:53 +0000 (12:25 +0000)
committerDaiki Ueno <ueno@unixuser.org>
Thu, 23 Oct 2003 12:25:53 +0000 (12:25 +0000)
lisp/riece-commands.el

index 124a1cd..039543d 100644 (file)
@@ -38,7 +38,7 @@
 (defun riece-command-switch-to-channel (channel)
   (interactive (list (riece-completing-read-identity
                      "Channel/User: " riece-current-channels nil t)))
 (defun riece-command-switch-to-channel (channel)
   (interactive (list (riece-completing-read-identity
                      "Channel/User: " riece-current-channels nil t)))
-  (unless (equal channel riece-current-channels)
+  (unless (equal channel riece-current-channel)
     (riece-switch-to-channel channel)
     (riece-redisplay-buffers)))
 
     (riece-switch-to-channel channel)
     (riece-redisplay-buffers)))