]> jfr.im git - irc/evilnet/znc.git/commitdiff
Fix regression of 1.6.4 which caused crash in modperl/modpython.
authorAlexey Sokolov <redacted>
Sun, 19 Feb 2017 10:29:49 +0000 (10:29 +0000)
committerAlexey Sokolov <redacted>
Sun, 19 Feb 2017 10:30:44 +0000 (10:30 +0000)
See #1283

modules/modperl/startup.pl
modules/modpython/znc.py

index f47a465d2671b2f026f65a0c7c80e42c36930c9f..f5ece23f04d7d78a5e0e3e7c305213428c5fd47a 100644 (file)
@@ -340,6 +340,7 @@ sub OnKick {}
 sub OnJoining {}
 sub OnJoin {}
 sub OnPart {}
+sub OnInvite {}
 sub OnChanBufferStarting {}
 sub OnChanBufferEnding {}
 sub OnChanBufferPlayLine {}
index 81650f10dd46968f027e7939db29ce2eadb4b653..10851926767eee4441ab121750601ec7f50902ac 100644 (file)
@@ -291,6 +291,9 @@ class Module:
     def OnPart(self, Nick, Channel, sMessage=None):
         pass
 
+    def OnInvite(self, Nick, sChan):
+        pass
+
     def OnChanBufferStarting(self, Chan, Client):
         pass