X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Frbot%2Fircbot.rb;h=a342e8c136151c0ed2e26422f3930a0ecd9f91db;hb=ba5aaf073e5467b0b71adede32051f9b38c50a19;hp=0a8b1aa2ab87ec673f83148418cdb4ad6ae30c0b;hpb=8b980642ce55d04aea4ed282154b4cd9fb1574b4;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/lib/rbot/ircbot.rb b/lib/rbot/ircbot.rb index 0a8b1aa2..a342e8c1 100644 --- a/lib/rbot/ircbot.rb +++ b/lib/rbot/ircbot.rb @@ -1128,6 +1128,12 @@ class Bot where = ds[:dest] filtered = ds[:text] + if defined? WebServiceUser and where.instance_of? WebServiceUser + debug 'sendmsg to web service!' + where.response << filtered + return + end + # For starters, set up appropriate queue channels and rings mchan = opts[:queue_channel] mring = opts[:queue_ring]