common: Fix IrcUser::quitInternal not syncing quit
[quassel.git] / src / common / ircuser.cpp
index ec1ecb1..de29980 100644 (file)
@@ -334,7 +334,7 @@ void IrcUser::quitInternal(bool skip_sync)
         channel->part(this);
     }
     network()->removeIrcUser(this);
-    if (!skip_sync) SYNC(NO_ARG)
+    if (!skip_sync) SYNC_OTHER(quit, NO_ARG)
     emit quited();
 }