fixed not exitting
This commit is contained in:
parent
7031a69257
commit
6772b9e0a8
@ -51,11 +51,10 @@ void SparrowBot::handleMessage(Message msg)
|
||||
// message
|
||||
|
||||
|
||||
if(msg.args.compare("!destroy") == 0)
|
||||
if(msg.args.compare("!update") == 0)
|
||||
{
|
||||
sendRawMessage("QUIT :i'll be back\r\n");
|
||||
status = OFFLINE;
|
||||
emit changeSocketStatus(false);
|
||||
exit(0);
|
||||
}
|
||||
if(msg.args.compare("!list") == 0)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user