Added missing call argument. Resolves issue 177.

This commit is contained in:
Griatch 2011-08-06 18:18:42 +00:00
parent ddfd8120bb
commit d466d8325f
2 changed files with 2 additions and 1 deletions

View file

@ -32,6 +32,7 @@ class BodyFunctions(Script):
This gets called every self.interval seconds. We make
a random check here so as to only return 33% of the time.
"""
if random.random() < 0.66:
# no message this time
return

View file

@ -826,7 +826,7 @@ class CmdIRC2Chan(MuxCommand):
if chanmatch:
channel = chanmatch.key
ok = irc.delete_connection(irc_network, irc_port, irc_channel, irc_botname)
ok = irc.delete_connection(channel, irc_network, irc_port, irc_channel, irc_botname)
if not ok:
self.caller.msg("IRC connection/bot could not be removed, does it exist?")
else: