dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.2.7
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apt-get has joined #cinch
apt-get has quit [Ping timeout: 265 seconds]
apt-get has joined #cinch
apt-get_ has joined #cinch
apt-get has quit [Ping timeout: 244 seconds]
Azure has quit [Remote host closed the connection]
Azure has joined #cinch
tyil has left #cinch ["system has died"]
Rickmasta has joined #cinch
Dwarf has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Dwarf> Hm, I'm getting undefined local variable or method `config' when I try to use plugins.options[PluginClass]
<Dwarf> Very strange
apt-get_ has quit [Remote host closed the connection]
<Dwarf> Here's the code
<dominikh> how would that work? config is an instance method. when the class code is executed, there is no bot and no configuration.
<Dwarf> I was looking at the identify plugin as example
<Dwarf> But I guess that's not a very good reference
<Dwarf> But I suppose I've got to use @bot.config.plugins.options[Bcome::Plugins::BanExpire]
<Dwarf> Or not
<dominikh> still won't work on the class level. there's still no bot.
<dominikh> that code executes long before you instantiate a bot or the class.
<Dwarf> I see
<Dwarf> I feared as much
<Dwarf> Any suggestions?
<dominikh> how about simply not using class variables and using config in the instance methods in which you need it.
<Dwarf> I should start thinking simple
<Dwarf> Thanks
Dwarf has quit [Quit: Lost terminal]
Rickmasta has joined #cinch
apt-get has joined #cinch
apeiros has quit [Ping timeout: 260 seconds]
Windir has quit [Ping timeout: 260 seconds]
apeiros has joined #cinch
Netfeed has quit [Ping timeout: 240 seconds]
Windir_ has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Windir_ is now known as Windir
Netfeed has joined #cinch
Rickmasta has joined #cinch
Azure has quit [Remote host closed the connection]
apt-get has quit [Remote host closed the connection]
Azure has joined #cinch
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Azure has quit [Quit: Oops.]
Azure has joined #cinch
Rickmasta has joined #cinch
Netfeed has quit [Changing host]
Netfeed has joined #cinch
literal has quit [Ping timeout: 264 seconds]