MCPcopy Create free account
hub / github.com/antirez/freakwan / cmd_irc

Method cmd_irc

clictrl.py:374–383  ·  view source on GitHub ↗
(self,argv,argc,send_reply)

Source from the content-addressed store, hash-verified

372 return True
373
374 def cmd_irc(self,argv,argc,send_reply):
375 if argc == 2 and argv[1] == 'stop':
376 self.fw.stop_irc()
377 send_reply("IRC stopped")
378 elif argc == 2 and argv[1] == 'start':
379 self.fw.start_irc()
380 send_reply("IRC started")
381 else:
382 send_reply("Usage: irc start | stop")
383 return True
384
385 def cmd_telegram(self,argv,argc,send_reply):
386 if argc == 2 and argv[1] == 'stop':

Callers

nothing calls this directly

Calls 2

stop_ircMethod · 0.80
start_ircMethod · 0.80

Tested by

no test coverage detected