mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Added docstring for getIrc()
This commit is contained in:
parent
5daaa14825
commit
3a4b77cefd
@ -99,6 +99,7 @@ commandsProcessed = 0
|
||||
ircs = [] # A list of all the IRCs.
|
||||
|
||||
def getIrc(network):
|
||||
"""Returns Irc object of the given network. <network> is string and not case-sensitive."""
|
||||
network = network.lower()
|
||||
for irc in ircs:
|
||||
if irc.network.lower() == network:
|
||||
|
Loading…
Reference in New Issue
Block a user