Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

Commit

Permalink
Fix regression in e07f61c
Browse files Browse the repository at this point in the history
  • Loading branch information
Headline committed Oct 27, 2018
1 parent dfde895 commit c04535b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions IRC-Relay/Discord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,11 @@ private async Task DoStikkedUpload(string input, SocketUserMessage msg)
var content = new FormUrlEncodedContent(values);
var response = await client.PostAsync(config.StikkedCreateUrlAndKey, content); // config.StikkedCreateUrlAndKey
var url = await response.Content.ReadAsStringAsync();

if (config.IRCLogMessages)
LogManager.WriteLog(MsgSendType.DiscordToIRC, msg.Author.Username, url, "log.txt");
session.SendMessage(Session.TargetBot.IRC, url, msg.Author.Username);

}
}

Expand Down

0 comments on commit c04535b

Please sign in to comment.