mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Use gettimeofday instead of clock_gettime.
POSIX.1-2008 deprecates gettimeofday... So perhaps it will be changed back in future. For now gettimeofday is more portable :(
This commit is contained in:
@@ -85,6 +85,11 @@ void CClient::ReadLine(const CString& sData) {
|
||||
|
||||
DEBUG("(" << GetFullName() << ") CLI -> ZNC [" << sLine << "]");
|
||||
|
||||
if (sLine.Left(1) == "@") {
|
||||
// TODO support message-tags properly
|
||||
sLine = sLine.Token(1, true);
|
||||
}
|
||||
|
||||
if (IsAttached()) {
|
||||
NETWORKMODULECALL(OnUserRaw(sLine), m_pUser, m_pNetwork, this, return);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user