TS3Tools / TS3UpdateScript

Automate all update processes for your TeamSpeak 3 server instances
GNU General Public License v3.0
189 stars 22 forks source link

ServerQuery IP: Get IP from database too #46

Closed Sebbo94BY closed 8 years ago

Sebbo94BY commented 8 years ago

User from #43 has changed his IP binding in the database instead of using the ts3server.ini.

Due of that, the TS3UpdateScript should also check the IP from the database.

Sebbo94BY commented 8 years ago

Done. The script will now use the first IP address from the ts3server.ini, if this file does exist or the set IP address (with type 3) from the database.

When the IP is 0.0.0.0, 127.0.0.1 will be used. If no IP at all could be found, the IP 127.0.0.1 will be used too.