summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/XMPPInterface.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/XMPPInterface.py')
-rw-r--r--module/plugins/hooks/XMPPInterface.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hooks/XMPPInterface.py b/module/plugins/hooks/XMPPInterface.py
index e93da98bf..053817bef 100644
--- a/module/plugins/hooks/XMPPInterface.py
+++ b/module/plugins/hooks/XMPPInterface.py
@@ -65,7 +65,7 @@ class XMPPInterface(IRCInterface, JabberClient):
self.start()
- def packageFinished(self, pypack):
+ def package_finished(self, pypack):
try:
if self.getConfig('info_pack'):
self.announce(_("Package finished: %s") % pypack.name)
@@ -73,7 +73,7 @@ class XMPPInterface(IRCInterface, JabberClient):
pass
- def downloadFinished(self, pyfile):
+ def download_finished(self, pyfile):
try:
if self.getConfig('info_file'):
self.announce(
@@ -200,11 +200,11 @@ class XMPPInterface(IRCInterface, JabberClient):
stream.send(m)
- def beforeReconnecting(self, ip):
+ def before_reconnect(self, ip):
self.disconnect()
- def afterReconnecting(self, ip):
+ def after_reconnect(self, ip):
self.connect()