]> jfr.im git - irc/weechat/qweechat.git/blobdiff - qweechat/network.py
Add missing lines value in command to synchronize with WeeChat
[irc/weechat/qweechat.git] / qweechat / network.py
index 28ef673a6a3f5686272cadaa8800efee47ee9541..306333bf5c1e757d9ba8bb81a262a568cbd67b32 100644 (file)
@@ -184,7 +184,8 @@ class Network(QtCore.QObject):
 
     def sync_weechat(self):
         """Synchronize with WeeChat."""
-        self.send_to_weechat('\n'.join(_PROTO_SYNC_CMDS))
+        self.send_to_weechat('\n'.join(_PROTO_SYNC_CMDS)
+                             % {'lines': self._lines})
 
     def status_label(self, status):
         """Return the label for a given status."""