lib/rubot/plugin.rb
# Run any events stored we had stored from a RubotPlugin#when_identified call.
Run any events stored we had stored from a RubotPlugin#when_identified call.
Run any events stored we had stored from a RubotPlugin#when_identified call .
def on_whois(user)
		return if @whois_cbs.empty?
		@whois_cbs.select {|u, cb| u == user}.each do |nick, cb|
			cb.call
		end
		@whois_cbs.reject! {|u, cb| u == user}
	end
def on_whois ( user ) return if @whois_cbs . empty? @whois_cbs . select { | u , cb | u == user } . each do | nick , cb | cb . call end @whois_cbs . reject! { | u , cb | u == user } end
Run any events stored we had stored from a RubotPlugin#when_identified call.
Run any events stored we had stored from a RubotPlugin#when_identified call .
user
<not_specific>