Fix build

This commit is contained in:
JustArchi
2017-02-05 14:35:55 +01:00
parent f72c51a2f8
commit b4483057b9
2 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ namespace ArchiSteamFarm {
internal static void OnPersonaState(Bot bot, SteamFriends.PersonaStateCallback callback) {
if (bot == null) {
Program.ArchiLogger.LogNullError(nameof(bot));
ASF.ArchiLogger.LogNullError(nameof(bot));
return;
}

View File

@@ -20,7 +20,7 @@ namespace ArchiSteamFarm {
internal static void UpdateBotAvatar(string botName, Image image) {
if (string.IsNullOrEmpty(botName) || (image == null)) {
Program.ArchiLogger.LogNullError(nameof(botName) + " || " + nameof(image));
ASF.ArchiLogger.LogNullError(nameof(botName) + " || " + nameof(image));
return;
}
@@ -111,7 +111,7 @@ namespace ArchiSteamFarm {
private static Bitmap ResizeImage(Image image, int width, int height) {
if ((image == null) || (width <= 0) || (height <= 0)) {
Program.ArchiLogger.LogNullError(nameof(image) + " || " + nameof(width) + " || " + nameof(height));
ASF.ArchiLogger.LogNullError(nameof(image) + " || " + nameof(width) + " || " + nameof(height));
return null;
}