Reformat helpers

This commit is contained in:
Mark Veidemanis 2022-08-11 20:09:14 +01:00
parent 6193502f2e
commit 16d268ca90
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,7 @@
import main
from modules import chankeep
def get_first_relay(net):
"""
Get the first relay in the network.
@ -20,6 +21,7 @@ def get_first_relay(net):
return main.IRCPool[name]
return None
def is_first_relay(net, num):
"""
Determine if we are the first relay for the network.