diff --git a/plugins/Network.py b/plugins/Network.py index 308876fe8..6103aa72f 100644 --- a/plugins/Network.py +++ b/plugins/Network.py @@ -275,6 +275,15 @@ class Network(callbacks.Privmsg): irc.noReply() latency = wrap(latency, ['networkIrc']) + def driver(self, irc, msg, args, otherIrc): + """[] + + Returns the current network driver for . 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