From: Kyle Fuller Date: Mon, 1 Jul 2013 22:37:50 +0000 (+0100) Subject: Make sure we add row before removing tables X-Git-Tag: 1.0.0~23 X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=b55045cce89241ec2b8b04032d17798c7c9be62a;p=znc-palaver.git Make sure we add row before removing tables --- diff --git a/palaver.cpp b/palaver.cpp index 1b30c85..e5446a7 100644 --- a/palaver.cpp +++ b/palaver.cpp @@ -841,6 +841,7 @@ public: } if (networks.size() == 0) { + Table.AddRow(); Table.SetCell("Device", device.GetToken()); Table.SetCell("User", sUsername); Table.SetCell("Network", ""); @@ -849,6 +850,7 @@ public: } if (msvsNetworks.size() == 0) { + Table.AddRow(); Table.SetCell("Device", device.GetToken()); Table.SetCell("User", ""); Table.SetCell("Network", "");