fix
git-svn-id: file:///raid/svn-personal/okuu/trunk@10 7d206d2a-66c2-044b-96de-ba755a9b3ba8
This commit is contained in:
parent
9cf83b3571
commit
376c2bbac6
|
@ -325,6 +325,9 @@ int ok_news_write(const char* nick, const char* message){
|
|||
send(nt_sock, ".\r\n", 3, 0);
|
||||
sta = ok_news_parse(nt_sock);
|
||||
if(sta != 240) goto cleanup;
|
||||
send(nt_sock, "QUIT\r\n", 6, 0);
|
||||
sta = ok_news_parse(nt_sock);
|
||||
if(sta != 205) goto cleanup;
|
||||
}else{
|
||||
goto cleanup;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user