summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Sluift/sluift.cpp')
-rw-r--r--Sluift/sluift.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Sluift/sluift.cpp b/Sluift/sluift.cpp
index c9189e7..66167b3 100644
--- a/Sluift/sluift.cpp
+++ b/Sluift/sluift.cpp
@@ -225,7 +225,7 @@ static int sluift_client_disconnect(lua_State *L) {
static int sluift_client_set_version(lua_State *L) {
try {
- eventLoop.runUntilEvents();
+ eventLoop.runOnce();
SluiftClient* client = getClient(L);
luaL_checktype(L, 2, LUA_TTABLE);
@@ -247,7 +247,7 @@ static int sluift_client_set_version(lua_State *L) {
static int sluift_client_get_contacts(lua_State *L) {
try {
- eventLoop.runUntilEvents();
+ eventLoop.runOnce();
SluiftClient* client = getClient(L);
Lua::Table contactsTable;