Created
July 2, 2012 04:07
-
-
Save austinbv/3031022 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/env ruby | |
load File.expand_path '~/.weechat_passwords' | |
def weechat_init | |
Weechat.register "identify_for_freenode", "austinbv", "0.1", "MIT", "idenfify my nick", "", "" | |
buffer = Weechat.info_get "irc_buffer", "freenode" | |
Weechat.command buffer, "/msg NickServ identify #{Passwords::Freenode.password}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment