mirror of
https://github.com/ShadowNinja/LuaIRC.git
synced 2025-01-07 16:40:29 +01:00
Allow nil Message args
This commit is contained in:
parent
e49a52ede1
commit
b8d594e651
@ -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) == ":")
|
||||
|
Loading…
Reference in New Issue
Block a user