Skip to content

Commit

Permalink
Release 1.2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain Telkostrasz Cossement committed Oct 18, 2016
1 parent facf4e3 commit c58d048
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions totalRP3/core/impl/globals.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ TRP3_API = {
addon_name_me = "Total RP 3",
addon_id_length = 15,

version = 21,
version_display = "1.2.1",
version = 22,
version_display = "1.2.1.1",

player = UnitName("player"),
player_realm = GetRealmName(),
Expand Down
6 changes: 5 additions & 1 deletion totalRP3/modules/register/main/register_exchange.lua
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ local function incomingVernumQuery(structure, senderID)
local senderProfileID = structure[VERNUM_QUERY_INDEX_CHARACTER_PROFILE];
local senderExtendedVersion = structure[VERNUM_QUERY_INDEX_EXTENDED];

senderVersion = tonumber(senderVersion) or 0;
senderExtendedVersion = tonumber(senderExtendedVersion) or 0;

local clientName = Globals.addon_name;
if senderExtendedVersion then
clientName = Globals.addon_name_extended;
Expand Down Expand Up @@ -444,7 +447,8 @@ function TRP3_API.register.inits.dataExchangeInit()

-- When receiving HELLO from someone else (from the other side ?)
Comm.broadcast.registerCommand(Comm.broadcast.HELLO_CMD, function(sender, version, versionDisplay, extendedVersion)
version = tonumber(version);
version = tonumber(version) or 0;
extendedVersion = tonumber(extendedVersion) or 0;
-- Only treat the message if it does not come from us
if sender ~= Globals.player_id then
checkVersion(sender, version, versionDisplay, extendedVersion);
Expand Down
2 changes: 1 addition & 1 deletion totalRP3/totalRP3.toc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Interface: 70000
## Title: Total RP 3
## Author: Telkostrasz & Ellypse
## Version: 1.2.1
## Version: 1.2.1.1
## Notes: Main addon
## URL: http://totalrp3.info
## RequiredDeps:
Expand Down

0 comments on commit c58d048

Please sign in to comment.