mirror of
https://github.com/evennia/evennia.git
synced 2026-04-05 07:27:17 +02:00
Added missing call argument. Resolves issue 177.
This commit is contained in:
parent
ddfd8120bb
commit
d466d8325f
2 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue