View Single Post
03-02-15, 05:00 AM   #3
Leapin
A Defias Bandit
Join Date: Mar 2015
Posts: 3
Originally Posted by Elkano View Post
Your call self[event](...) is the culprit. It resullts in the call self.CHAT_MSG_GUILD(...) instead of self:CHAT_MSG_GUILD(...). The latter is equivalent to self.CHAT_MSG_GUILD(self, ...).

So simply changing self[event](...) to self[event](self, ...) should do the trick.
That seem to have fixed it, I am still curious, why do we write "self[event]()" instead of "self:event()"?
  Reply With Quote