dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.1.0
ILoveYou has joined #cinch
<
ILoveYou>
so, probably going to be a really stupid question and probably not even the right place for this but
http://tny.cz/012964b4
<
ILoveYou>
for whatever reason it looks for can_kick? locally when I expect it to look under UserModes. worked fine previously but i broke it
hephaestus_rg has quit [Quit: hephaestus_rg]
rikai_ has quit [Ping timeout: 240 seconds]
rikai has joined #cinch
rikai has quit [Ping timeout: 244 seconds]
rikai has joined #cinch
forgrefer has joined #cinch
hephaestus_rg has joined #cinch
forgrefer has quit [Remote host closed the connection]
hephaestus_rg has quit [Ping timeout: 252 seconds]
gtech_ has joined #cinch
catepill1r has joined #cinch
onewheelskyward has quit [*.net *.split]
gtech has quit [*.net *.split]
catepillar has quit [*.net *.split]
skybotalpha has quit [*.net *.split]
xeviox|afk is now known as xeviox
postmodern has quit [Quit: Leaving]
kludge` has quit [Ping timeout: 252 seconds]
kludge` has joined #cinch
<
Zackio>
Anyone? :/
nOgAnOo has quit [Ping timeout: 264 seconds]
nOgAnOo has joined #cinch
xeviox is now known as xeviox|afk
<
nickrw>
Zackio: Test::Class doesn't look like a cinch plugin
<
nickrw>
it doesn't respond to #unregister
<
nickrw>
works for me
<
nickrw>
copy/paste of your plugin loader plus a file called plugins/test.rb in the same dir
<
Zackio>
nickrw: No errors at all? O_o
<
Zackio>
nickrw: Does it actually load the plugin/unload it?
<
nickrw>
I totally forgot to unload it despite that being the problem ¬_¬
<
Zackio>
It's fine. :)
<
nickrw>
it's because you're trying to unload the class, not the instantiated plugin object
<
nickrw>
I do this in my unloader:
<
nickrw>
i = bot.plugins.find_index { |x| x.class == klass }
<
nickrw>
bot.plugins.unregister_plugin(bot.plugins[i])
<
nickrw>
where 'klass' is plugin.captialize in your code
<
Zackio>
It worked! Thanks! :D
snapcase has joined #cinch
<
FiXato>
(Cinch -> master)
<
dominikh>
out of my control
<
dominikh>
whoever wrote that "view on github" plugin for YARD fucked up :)
<
dominikh>
maybe I'll file a bug if I can be bothered to find out who wrote it ;)
furry has joined #cinch
<
furry>
Does Cinch support multiple network connections per bot?
<
furry>
okay, thanks
furry has left #cinch ["Leaving"]
nicolamann has joined #cinch
xeviox|afk is now known as xeviox
nicolamann has quit [Remote host closed the connection]