Wrong variable name fixed

Removed uneeded (and broken) import
This commit is contained in:
Tristan B. Kildaire 2020-12-04 18:13:16 +02:00
parent 0ce57aa328
commit 0af4af23ea

View File

@ -1,9 +1,9 @@
import core.thread : Thread; import core.thread : Thread;
import tristanable.manager; import tristanable.manager;
import tristanable.notifications;
import std.stdio; import std.stdio;
import core.time : dur; import core.time : dur;
import tristanable.encoding; import tristanable.encoding;
import libdnet.dclient : DClient;
public class NotificationWatcher : Thread public class NotificationWatcher : Thread
{ {
@ -23,7 +23,7 @@ public class NotificationWatcher : Thread
while(true) while(true)
{ {
/* Await a notification */ /* Await a notification */
byte[] notification = manager.awaitNotification(); byte[] notification = client.awaitNotification();
process(notification); process(notification);
} }
} }