/*
* Author : Boris Mikhailenko <stg34@stargazer.dp.ua>
- * Author : Maxim Mamontov <faust@stargazer.dp.ua>
+ * Author : Maksym Mamontov <stg@madf.info>
*/
#include <arpa/inet.h>
}
}
-STG_LOCKER lock(&mutex, __FILE__, __LINE__);
+STG_LOCKER lock(&mutex);
pending.push_back(data);
return false;
{
printfd(__FILE__, "Disconnect user '%s'\n", it->login.c_str());
// Disconnect existing user
+ uit->params = it->params;
Disconnect(*uit);
users.erase(uit);
}
++it;
++count;
}
-STG_LOCKER lock(&mutex, __FILE__, __LINE__);
+STG_LOCKER lock(&mutex);
pending.erase(pending.begin(), it);
}
//-----------------------------------------------------------------------------