mirror of
https://github.com/deavmi/birchwood
synced 2024-09-20 08:43:05 +02:00
Fixed bug which would have caused a possible crash? Well somewhere, I am not sure if thread spanwed is default in evwenty, in anyu case, fixed it
This commit is contained in:
parent
f70e521d36
commit
b974da8151
@ -370,9 +370,11 @@ public final class Client : Thread
|
|||||||
if(cmp(command, "PRIVMSG") == 0)
|
if(cmp(command, "PRIVMSG") == 0)
|
||||||
{
|
{
|
||||||
/* Split up into (channel/nick) and (message)*/
|
/* Split up into (channel/nick) and (message)*/
|
||||||
long firstSpaceIdx = indexOf(command, " "); //TODO: validity check;
|
long firstSpaceIdx = indexOf(params, " "); //TODO: validity check;
|
||||||
string chanNick = params[0..firstSpaceIdx];
|
string chanNick = params[0..firstSpaceIdx];
|
||||||
|
|
||||||
|
logger.log("chanNick: "~chanNick);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TODO: Implement message fetching here and decide whether isChannel message
|
* TODO: Implement message fetching here and decide whether isChannel message
|
||||||
* or private message
|
* or private message
|
||||||
@ -900,8 +902,9 @@ public final class Client : Thread
|
|||||||
|
|
||||||
// }
|
// }
|
||||||
|
|
||||||
Thread.sleep(dur!("seconds")(15));
|
// TODO: Don't forget to re-enable this when done testing!
|
||||||
client.quit();
|
// Thread.sleep(dur!("seconds")(15));
|
||||||
|
// client.quit();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user