Add OnJoining module hook.

This patch adds an OnJoining module hook that allows a module to allow
or disallow joining any given channel.
This commit is contained in:
Alexander Færøy
2014-05-29 17:56:04 +02:00
parent 5d001cd0e0
commit db0e0995e2
9 changed files with 22 additions and 0 deletions

View File

@@ -281,6 +281,9 @@ class Module:
def OnKick(self, OpNick, sKickedNick, Channel, sMessage):
pass
def OnJoining(self, Channel):
pass
def OnJoin(self, Nick, Channel):
pass