Skip to content

Commit

Permalink
Deleting unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
xlopo committed Apr 10, 2015
1 parent eab5da0 commit 857112f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions plugins/roll.lua
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
do

function justWords(str)
local t = {}
local function helper(word) table.insert(t, word) return "" end
if not str:gsub("[%p%w]+", helper):find"%S" then return t end
end

local ROLL_USAGE = "!roll d<sides>|<count> d<sides>"
local DEFAULT_SIDES = 100
local DEFAULT_NUMBER_OF_DICE = 1
Expand Down

0 comments on commit 857112f

Please sign in to comment.