summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/IRCInterface.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-27 01:38:32 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-09-27 01:38:32 +0200
commit0d220d634e512d89bda540f91c643b361c82ea8a (patch)
tree198e2be046a1d6fdbbec0b7c44f1d5563f327528 /module/plugins/hooks/IRCInterface.py
parentBetter dead plugin fallback (diff)
downloadpyload-0d220d634e512d89bda540f91c643b361c82ea8a.tar.xz
Logging string cosmetics
Diffstat (limited to 'module/plugins/hooks/IRCInterface.py')
-rw-r--r--module/plugins/hooks/IRCInterface.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/IRCInterface.py b/module/plugins/hooks/IRCInterface.py
index 7ebc0275f..fe458328a 100644
--- a/module/plugins/hooks/IRCInterface.py
+++ b/module/plugins/hooks/IRCInterface.py
@@ -89,8 +89,8 @@ class IRCInterface(Thread, Hook):
for t in self.getConfig("owner").split():
if t.strip().startswith("#"):
self.sock.send("JOIN %s\r\n" % t.strip())
- self.logInfo("pyLoad IRC: Connected to %s!" % host)
- self.logInfo("pyLoad IRC: Switching to listening mode!")
+ self.logInfo(_("Connected to"), host)
+ self.logInfo(_("Switching to listening mode!"))
try:
self.main_loop()
@@ -177,7 +177,7 @@ class IRCInterface(Thread, Hook):
for line in res:
self.response(line, msg['origin'])
except Exception, e:
- self.logError("pyLoad IRC: " + repr(e))
+ self.logError(repr(e))
def response(self, msg, origin=""):
if origin == "":