Skip to content
Snippets Groups Projects
Commit 4b7dc761 authored by dg's avatar dg
Browse files

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@6275 51575b47-30f0-44d4-a5cc-537603b46e54
parent 9863f18a
No related branches found
No related tags found
No related merge requests found
......@@ -111,7 +111,7 @@ function _M:event(e)
elseif e.donator == "recurring" then color = colors.ROYAL_BLUE end
self.channels[e.channel] = self.channels[e.channel] or {users={}, log={}}
if profile.auth and profile.auth.name then
if profile and profile.auth and profile.auth.name then
local tokens = e.msg:split(" ")
for i = 1, #tokens do
if tokens[i]:lower() == profile.auth.name:lower() then tokens[i] = "#YELLOW##{underline}#"..tokens[i].."#{normal}##LAST#" end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment