mirror of
https://github.com/deavminet/skippy.git
synced 2024-12-23 14:52:04 +00:00
Wrong variable name fixed
Removed uneeded (and broken) import
This commit is contained in:
parent
0ce57aa328
commit
0af4af23ea
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user