Add missing return statement to dcc module.

It was harmless, but it makes Coverity happier.
This commit is contained in:
Alexey Sokolov
2015-10-31 02:25:34 +00:00
parent 096dc5b320
commit fa4c01e49d

View File

@@ -293,6 +293,7 @@ void CDCCSock::ReadData(const char* data, size_t len) {
DEBUG("File not open! closing get.");
m_pModule->PutModule(((m_bSend) ? "DCC -> [" : "DCC <- [") + m_sRemoteNick + "][" + m_sFileName + "] - File not open!");
Close();
return;
}
// DCC specs says the receiving end sends the number of bytes it