adding all of botlist, initial add
[botlist.git] / botlistprojects / laughingman / orbirclib / src / rec_convert.erl
blob643cc0d283102bb22497ee15ae168d54152d44ec
1 -module(rec_convert).
2 -author("orbitz@ortdotlove.net").
4 -include("db.hrl").
5 -include("irc.hrl").
7 -export([convert/3]).
9 convert(irc_bot_db, irc_bot, Rec) ->
10 #irc_bot{botname=Rec#irc_bot_db.botname,
11 nick=Rec#irc_bot_db.nick,
12 realname=Rec#irc_bot_db.realname,
13 servers=Rec#irc_bot_db.servers,
14 channels=Rec#irc_bot_db.channels,
15 password=Rec#irc_bot_db.password,
16 handler=self()}.