From 2c6064395467822e1cfc222a18da132125528694 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 10 Jan 2005 04:58:40 +0000 Subject: [PATCH] Added a driver command. --- plugins/Network.py | 9 +++++++++ 1 file changed, 9 insertions(+) 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