File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
src/main/java/com/github/theholywaffle/teamspeak3 Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -81,6 +81,10 @@ public int getInheritedChannelGroupId() {
81
81
return getInt (ClientProperty .CLIENT_CHANNEL_GROUP_INHERITED_CHANNEL_ID );
82
82
}
83
83
84
+ public String getIp () {
85
+ return get (ClientProperty .CONNECTION_CLIENT_IP );
86
+ }
87
+
84
88
public Date getLastConnectedDate () {
85
89
return new Date (getLong (ClientProperty .CLIENT_LASTCONNECTED ) * 1000 );
86
90
}
Original file line number Diff line number Diff line change @@ -91,10 +91,6 @@ public long getFiletransferBandwidthSent() {
91
91
return getLong (ClientProperty .CONNECTION_FILETRANSFER_BANDWIDTH_SENT );
92
92
}
93
93
94
- public String getIp () {
95
- return get (ClientProperty .CONNECTION_CLIENT_IP );
96
- }
97
-
98
94
public String getLoginName () {
99
95
return get (ClientProperty .CLIENT_LOGIN_NAME );
100
96
}
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ public CClientList() {
40
40
add (new OptionParam ("info" ));
41
41
add (new OptionParam ("icon" ));
42
42
add (new OptionParam ("country" ));
43
+ add (new OptionParam ("ip" ));
43
44
}
44
45
45
46
}
You can’t perform that action at this time.
0 commit comments