Skip to content

Instantly share code, notes, and snippets.

@kidd
Created June 30, 2013 16:23
Show Gist options
  • Save kidd/5895818 to your computer and use it in GitHub Desktop.
Save kidd/5895818 to your computer and use it in GitHub Desktop.
config = {
nick = "my-nick123",
autoReconnect=true,
host="irc.freenode.org",
port=6667,
ident="my-nick123",
realname="my-nick123",
channels={"#lua"},
modules = {'roll'},
}
local ivar2 = require 'ivar2'
ivar2:Connect(config)
ivar2.Loop:loop()
-- Sun Jun 30 18:21:39 2013 INFO Connecting to irc.freenode.org:6667.
-- Sun Jun 30 18:21:40 2013 ERROR Operation already in progress
-- Sun Jun 30 18:21:40 2013 INFO Lost connection to server. Reconnecting in 20 seconds.
-- Sun Jun 30 18:21:40 2013 INFO Loading module roll.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment