Skip to content

Commit

Permalink
1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Luch00 committed Nov 19, 2017
1 parent b1e3c84 commit 419e491
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
8 changes: 2 additions & 6 deletions QtLxBTSC/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
#include <QPlainTextEdit>
#include <QToolButton>
#include <QtWidgets/QVBoxLayout>
#include <QRegularExpression>
#include <QDir>
#include <server.h>
#include <utils.h>

Expand Down Expand Up @@ -86,7 +84,7 @@ const char* ts3plugin_name() {

/* Plugin version */
const char* ts3plugin_version() {
return "1.2";
return "1.3";
}

/* Plugin API version. Must be the same as the clients API major version, else the plugin fails to load. */
Expand Down Expand Up @@ -412,13 +410,11 @@ Client getClient(uint64 serverConnectionHandlerID, anyID id)
{
}
char *uid;
QString s;
if (ts3Functions.getClientVariableAsString(serverConnectionHandlerID, id, CLIENT_UNIQUE_IDENTIFIER, &uid) == ERROR_ok)
{
s = QString(uid).replace(QRegExp("[+/=]"), "0");
ts3plugin_freeMemory(uid);
}
return Client(res, s);
return Client(res, uid);
}

// cache all connected clients
Expand Down
1 change: 0 additions & 1 deletion QtLxBTSC/utils.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#include <QString>
#include <QRegExp>

namespace utils
Expand Down

0 comments on commit 419e491

Please sign in to comment.