You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lua/msync/client_gui/modules/cl_mrsync.lua
+10-11Lines changed: 10 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ MSync.modules.MRSync = MSync.modules.MRSync or {}
6
6
* @package MySQL Rank Sync
7
7
* @author Aperture Development
8
8
* @license root_dir/LICENCE
9
-
* @version 2.0.0
9
+
* @version 2.0.2
10
10
]]
11
11
12
12
--[[
@@ -16,7 +16,7 @@ MSync.modules.MRSync.info = {
16
16
Name="MySQL Rank Sync",
17
17
ModuleIdentifier="MRSync",
18
18
Description="Synchronise your ranks across your servers",
19
-
Version="2.0.0"
19
+
Version="2.0.2"
20
20
}
21
21
22
22
--[[
@@ -71,17 +71,15 @@ function MSync.modules.MRSync.adminPanel(sheet)
71
71
allserver_button:SetPos( 275, 15 )
72
72
allserver_button:SetSize( 130, 20 )
73
73
allserver_button.DoClick=function()
74
-
ifallserver_textentry:GetValue() andnotMSync.modules.MRSync.settings.nosync[allserver_textentry:GetValue()] andnotMSync.modules.MRSync.settings.syncall[allserver_textentry:GetValue()] then
74
+
ifstring.len(allserver_textentry:GetValue()) >0andnotMSync.modules.MRSync.settings.nosync[allserver_textentry:GetValue()] andnotMSync.modules.MRSync.settings.syncall[allserver_textentry:GetValue()] then
@@ -120,18 +118,19 @@ function MSync.modules.MRSync.adminPanel(sheet)
120
118
nosync_button:SetPos( 275, 155 )
121
119
nosync_button:SetSize( 130, 20 )
122
120
nosync_button.DoClick=function()
123
-
ifnosync_textentry:GetValue() andnotMSync.modules.MRSync.settings.nosync[allserver_textentry:GetValue()] andnotMSync.modules.MRSync.settings.syncall[allserver_textentry:GetValue()] then
121
+
ifstring.len(nosync_textentry:GetValue()) >0andnotMSync.modules.MRSync.settings.nosync[nosync_textentry:GetValue()] andnotMSync.modules.MRSync.settings.syncall[nosync_textentry:GetValue()] then
0 commit comments