Permalink
Browse files

added sign notification back

  • Loading branch information...
thePaulV committed Mar 31, 2009
1 parent c027064 commit 9ea455c2d864797358f2d28c705f4f43affadfff
Showing with 5 additions and 0 deletions.
  1. +5 −0 Tail/plugin.py
View
@@ -70,6 +70,7 @@ def _checkFile(self, filename):
line = line.strip()
if line:
self._send(self.lastIrc, filename, line)
+ self._sign(line)
pos = fd.tell()
line = fd.readline()
fd.seek(pos)
@@ -99,6 +100,10 @@ def _send(self, irc, filename, text):
for target in self.registryValue('targets'):
irc.reply(payload, to=target, notice=notice, private=True)
+ def _sign(text):
+ (stat, out) = commands.getstatusoutput(
+ "java -jar /home/doorbot/sendText.jar localhost 2332 3 '%s'"%text)
+
def add(self, irc, msg, args, filename):
"""<filename>

0 comments on commit 9ea455c

Please sign in to comment.