testing hook erc-nickserv-identified-hook

GH <[email protected]>
Newsgroups gmane.emacs.erc.general
Message-ID <[email protected]>
`erc-nickserv-identified-hook' defined as "Run this hook when NickServ
acknowledged successful identification."

I want test it

#+begin_src elisp

  (defun erc-after-ident (network nick)
    (message "Network: %s" network)
    (message "Nick: %s" nick))

  (add-hook 'erc-nickserv-identified-hook 'erc-after-ident)
  
#+end_src

I join to my favourite irc network.

I get the NickServ notice:

-NickServ- This nickname is registered. Please choose a different nickname, or
	   identify via /msg NickServ IDENTIFY my_nick <password>
-NickServ- You are now identified for my_nick.

yay, ive identified successfully

But no messages about in *Messages*

test yourself, some is wrong
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.