All pastes #956024 Raw Edit

Etwas

public text v1 · immutable
#956024 ·published 2008-03-24 23:55 UTC
rendered paste body
void HandleMessage(CNick& Nick, const CString& sMessage)
	{
		if (!m_sAuth.empty()
				&& Nick.GetNick().CaseCmp("Q") == 0
				&& Nick.GetHost().CaseCmp("CServe.quakenet.org") == 0
				&& sMessage.find("NOT") != CString::npos
				&& sMessage.find("authed") != CString::npos) {
			PutIRC("PRIVMSG Q@CServe.quakenet.org :auth " + m_sAuth);
		}
	}