dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.1.0
thews_ is now known as thews
thews has quit [Changing host]
thews has joined #cinch
Azure has quit [Quit: Blue Sky Fish]
Azure has joined #cinch
Spami has joined #cinch
kith has quit [Quit: kith]
kith has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
postmodern has quit [Quit: Leaving]
irsol has quit [Ping timeout: 245 seconds]
kludge` has quit [Ping timeout: 245 seconds]
kludge` has joined #cinch
irsol has joined #cinch
aclearman037 has joined #cinch
Guest44070 is now known as deb
deb is now known as Guest99360
aclearman037 has quit [Ping timeout: 252 seconds]
Fernandos has joined #cinch
Fernandos has quit [Changing host]
Fernandos has joined #cinch
Fernandos has quit [Client Quit]
aclearman037 has joined #cinch
Spami has joined #cinch
Spami has quit [Quit: This computer has gone to sleep]
geopet has joined #cinch
Lumio has joined #cinch
<Lumio> hello! :) is there a way to do something like this: https://gist.github.com/anonymous/b6b4db2150198d8083e2
<Lumio> or do I just do a return or something
<dominikh> what's your goal? prevent other handlers from matching that message?
<Lumio> I create a module, which needs to listen to some events and after it finished, it should stop listening.
<Lumio> But yes, preventing other handlers from matching would also be good in addition
<dominikh> unless you dynamically added handlers, you shouldn't be removing those handlers on the fly. use some state to determine whether the handler should run or not
<Lumio> I create them dynamically
<Lumio> but the thing with states is a good point
Guest99360 is now known as deb
<dominikh> how do you create them?
<dominikh> if you're dynamically using Bot#on: #on returns the Handler object it registered, so store that and Handler#unregister once you don't want it anymore
postmodern has joined #cinch
[DS]Matej has quit [Changing host]
[DS]Matej has joined #cinch
[DS]Matej has quit [Changing host]
[DS]Matej has joined #cinch
geopet has quit []
irsol has quit [Ping timeout: 240 seconds]
geopet has joined #cinch
<Lumio> @dominikh: sorry .. well, when someone writes a command which needs to have higher privileges, I start to check if the sender is founder of the channel and identified.
<Lumio> So what I do is to listen to notices when I want to check those privileges
irsol has joined #cinch
geopet has quit []
cyrusdav- has quit [Quit: process.exit(0)]
cyrusdavid has joined #cinch