Permalink
Browse files

erc-server-users might be nil and error here

  • Loading branch information...
1 parent 73936b9 commit 27f727b8e241a77c8c3308b2ae2d2fcc2207f151 @unhammer committed Sep 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bbdb2erc.el
View
@@ -50,7 +50,7 @@
(remove nil
(erc-with-all-buffers-of-server nil
#'erc-open-server-buffer-p
- (when (gethash (erc-downcase nick) erc-server-users)
+ (when (and erc-server-users (gethash (erc-downcase nick) erc-server-users))
(erc-server-buffer)))))
(defun bbdb2erc-online-status (&optional record)

0 comments on commit 27f727b

Please sign in to comment.