Allow nil Message args

This commit is contained in:
ShadowNinja 2015-02-16 20:17:50 -05:00
parent e49a52ede1
commit b8d594e651
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ function msg_meta:toRFC1459()
s = s..self.command
local argnum = #self.args
local argnum = self.args and #self.args or 0
for i = 1, argnum do
local arg = self.args[i]
local startsWithColon = (arg:sub(1, 1) == ":")