From e92183e680b5ae965a2ad83008375bdd41346438 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Sun, 7 Jun 2015 22:49:11 +0200 Subject: [PATCH] finally sends the source --- plugins/boobs.lua | 3 +-- plugins/gay.lua | 3 +-- plugins/img_google.lua | 3 +-- plugins/img_google_nsfw.lua | 3 +-- plugins/wallpaper.lua | 3 +-- plugins/wallpaper_nsfw.lua | 3 +-- 6 files changed, 6 insertions(+), 12 deletions(-) diff --git a/plugins/boobs.lua b/plugins/boobs.lua index 7092822..9cfcaae 100644 --- a/plugins/boobs.lua +++ b/plugins/boobs.lua @@ -51,8 +51,7 @@ local function run(msg, matches) if url ~= nil then local receiver = get_receiver(msg) send_photo_from_url(receiver, url) - --return "Source: "..url - return "Bild wird gesendet!" + return "Source: "..url else return 'Keine Boobs/Butts gefunden.' end diff --git a/plugins/gay.lua b/plugins/gay.lua index d5f69d0..ce8b156 100644 --- a/plugins/gay.lua +++ b/plugins/gay.lua @@ -37,8 +37,7 @@ function run(msg, matches) print("Bilder-URL: ", url) send_photo_from_url(receiver, url) - --return "Source: "..url - return "Bild wird gesendet!" + return "Source: "..url end return { diff --git a/plugins/img_google.lua b/plugins/img_google.lua index 09f43a4..fe6aa0b 100644 --- a/plugins/img_google.lua +++ b/plugins/img_google.lua @@ -38,8 +38,7 @@ function run(msg, matches) print("Bilder-URL: ", url) send_photo_from_url(receiver, url) - --return "Source: "..url - return "Bild wird gesendet!" + return "Source: "..url end return { diff --git a/plugins/img_google_nsfw.lua b/plugins/img_google_nsfw.lua index 835eece..257dd82 100644 --- a/plugins/img_google_nsfw.lua +++ b/plugins/img_google_nsfw.lua @@ -37,8 +37,7 @@ function run(msg, matches) print("Bilder-URL: ", url) send_photo_from_url(receiver, url) - --return "Source: "..url - return "Bild wird gesendet!" + return "Source: "..url end return { diff --git a/plugins/wallpaper.lua b/plugins/wallpaper.lua index 8ae9eab..63fc9d1 100644 --- a/plugins/wallpaper.lua +++ b/plugins/wallpaper.lua @@ -37,8 +37,7 @@ function run(msg, matches) print("Bilder-URL: ", url) send_photo_from_url(receiver, url) - --return "Source: "..url - return "Wallpaper wird gesendet!" + return "Source: "..url end return { diff --git a/plugins/wallpaper_nsfw.lua b/plugins/wallpaper_nsfw.lua index 6e6f05b..9ff58ed 100644 --- a/plugins/wallpaper_nsfw.lua +++ b/plugins/wallpaper_nsfw.lua @@ -37,8 +37,7 @@ function run(msg, matches) print("Bilder-URL: ", url) send_photo_from_url(receiver, url) - --return "Source: "..url - return "Wallpaper wird gesendet!" + return "Source: "..url end return {