mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 07:34:08 +01:00
Added a driver command.
This commit is contained in:
parent
ff8379b7b4
commit
2c60643954
@ -275,6 +275,15 @@ class Network(callbacks.Privmsg):
|
||||
irc.noReply()
|
||||
latency = wrap(latency, ['networkIrc'])
|
||||
|
||||
def driver(self, irc, msg, args, otherIrc):
|
||||
"""[<network>]
|
||||
|
||||
Returns the current network driver for <network>. <network> is only
|
||||
necessary if the message isn't sent on the network to which this
|
||||
command is to apply.
|
||||
"""
|
||||
irc.reply(otherIrc.driver.__class__.__module__[8:])
|
||||
|
||||
|
||||
Class = Network
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user