MCPcopy Index your code
hub / github.com/pyload/pyload / response

Method response

module/plugins/hooks/IRC.py:191–196  ·  view source on GitHub ↗
(self, msg, origin="")

Source from the content-addressed store, hash-verified

189 self.log_error(e, trace=True)
190
191 def response(self, msg, origin=""):
192 if origin == "":
193 for t in self.config.get('owner').split():
194 self.sock.send("PRIVMSG %s :%s\r\n" % (t.strip(), msg))
195 else:
196 self.sock.send("PRIVMSG %s :%s\r\n" % (origin.split("!", 1)[0], msg))
197
198 # Events
199 def event_pass(self, args):

Callers 4

package_finishedMethod · 0.95
download_finishedMethod · 0.95
captcha_taskMethod · 0.95
handle_eventsMethod · 0.95

Calls 3

splitMethod · 0.80
getMethod · 0.45
sendMethod · 0.45

Tested by

no test coverage detected