Skip to content

Commit

Permalink
rcirc: bugfix
Browse files Browse the repository at this point in the history
- auth-source may not have been loaded (#1203)
- spacemacs/warning does not exist
  • Loading branch information
TheBB committed Oct 26, 2015
1 parent 405dc66 commit 69298f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions layers/+irc/rcirc/funcs.el
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"Initialize authinfo.
Allow rcirc to read authinfo from ~/.authinfo.gpg via the auth-source API.
This doesn't support the chanserv auth method. "
(require 'auth-source)
(dolist (p (auth-source-search :port '("nickserv" "bitlbee" "quakenet")
:require '(:port :user :secret)))
(let ((secret (plist-get p :secret))
Expand Down
2 changes: 1 addition & 1 deletion layers/+irc/rcirc/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
(unless arg
(if (file-exists-p "~/.authinfo.gpg")
(spacemacs//rcirc-authinfo-config)
(spacemacs/warning "Cannot find file ~/.authinfo.gpg")))
(message "Cannot find file ~/.authinfo.gpg")))
(rcirc arg))

(defun spacemacs//rcirc-with-znc (arg)
Expand Down

0 comments on commit 69298f0

Please sign in to comment.