commit
051bb8cfbd
@ -1042,7 +1042,7 @@ bool cPluginLua::OnPluginMessage(cClientHandle & a_Client, const AString & a_Cha
|
||||
cLuaRefs & Refs = m_HookMap[cPluginManager::HOOK_PLUGIN_MESSAGE];
|
||||
for (cLuaRefs::iterator itr = Refs.begin(), end = Refs.end(); itr != end; ++itr)
|
||||
{
|
||||
m_LuaState.Call((int)(**itr), &a_Client, a_Channel, a_Message);
|
||||
m_LuaState.Call((int)(**itr), &a_Client, a_Channel, a_Message, cLuaState::Return, res);
|
||||
if (res)
|
||||
{
|
||||
return true;
|
||||
|
@ -887,9 +887,7 @@ void cByteBuffer::AdvanceReadPos(size_t a_Count)
|
||||
|
||||
void cByteBuffer::CheckValid(void) const
|
||||
{
|
||||
ASSERT(m_ReadPos >= 0);
|
||||
ASSERT(m_ReadPos < m_BufferSize);
|
||||
ASSERT(m_WritePos >= 0);
|
||||
ASSERT(m_WritePos < m_BufferSize);
|
||||
}
|
||||
|
||||
|
@ -285,11 +285,6 @@ void cWebAdmin::HandleWebadminRequest(cHTTPConnection & a_Connection, cHTTPReque
|
||||
Content = GetDefaultPage();
|
||||
}
|
||||
|
||||
if (ShouldWrapInTemplate && (URL.size() > 1))
|
||||
{
|
||||
Content += "\n<p><a href='" + BaseURL + "'>Go back</a></p>";
|
||||
}
|
||||
|
||||
int MemUsageKiB = cRoot::GetPhysicalRAMUsage();
|
||||
if (MemUsageKiB > 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user