Skip to content

Commit

Permalink
Fixed regular expression for realm name in GwGlobalName. (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrogaski committed Oct 15, 2014
1 parent ece41ca commit b86c24c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions GreenWall.toc
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
## Title: GreenWall
## Notes: Common communication channel as a replacement for guild chat in guild confederations.
## Author: Mark Rogaski <[email protected]>
## Version: 1.5.0
## Version: 1.5.1
## URL: https://github.com/AIE-Guild/GreenWall/releases
## URL: http://wow.curse.com/downloads/wow-addons/details/greenwall.aspx
## DefaultState: enabled
## SavedVariablesPerCharacter: GreenWall,GreenWallLog
## X-Category: Guild
## X-Date: 10/14/2014
## X-Date: 10/15/2014

GreenWall.xml
2 changes: 1 addition & 1 deletion GreenWall_Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ end
local function GwGlobalName(name, realm)

-- Pass formatted names without modification.
if name:match('.+-%a+$') then
if name:match(".+-[%a']+$") then
return name
end

Expand Down

0 comments on commit b86c24c

Please sign in to comment.