Removed default version reply since it is now handled in CUser

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@220 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-05-01 06:23:16 +00:00
parent 1c1be9d573
commit 3509e3712b
-5
View File
@@ -617,11 +617,6 @@ bool CIRCSock::OnPrivCTCP(const string& sNickMask, string& sMessage) {
if (strcasecmp(sMessage.c_str(), "VERSION") == 0) {
if (!IsUserAttached()) {
string sVersionReply = m_pUser->GetVersionReply();
if (sVersionReply.empty()) {
sVersionReply = "ZNC by prozac - http://znc.sourceforge.net";
}
PutServ("NOTICE " + CNick(sNickMask).GetNick() + " :\001VERSION " + sVersionReply + "\001");
}
} else if (strncasecmp(sMessage.c_str(), "DCC ", 4) == 0) {