From e4b48d50b3276374c1a0505810b55da3808eebad Mon Sep 17 00:00:00 2001 From: darthgandalf Date: Thu, 30 Dec 2010 12:16:33 +0000 Subject: [PATCH] Fix for previous commit. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2217 726aef4b-f618-498e-8847-2d620e286838 --- modules/modpython/znc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/modpython/znc.py b/modules/modpython/znc.py index 9b4eb426..8227e75c 100644 --- a/modules/modpython/znc.py +++ b/modules/modpython/znc.py @@ -153,7 +153,7 @@ class Module: def OnNick(self, Nick, sNewNick, vChans): pass def OnKick(self, OpNick, sKickedNick, Channel, sMessage): pass def OnJoin(self, Nick, Channel): pass - def OnPart(self, Nick, Channel): pass + def OnPart(self, Nick, Channel, sMessage=None): pass def OnChanBufferStarting(self, Chan, Client): pass def OnChanBufferEnding(self, Chan, Client): pass def OnChanBufferPlayLine(self, Chan, Client, sLine): pass