From 5536e2181d753d9a3e5ac9e84bd64d1ddd21bf4d Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Sat, 23 Aug 2003 13:05:41 +0000 Subject: [PATCH] Added module docstrings and changed argument order of osuemail. --- plugins/OSU.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/OSU.py b/plugins/OSU.py index 1aa4db00a..1f7089522 100644 --- a/plugins/OSU.py +++ b/plugins/OSU.py @@ -30,7 +30,8 @@ ### """ -Add the module docstring here. This will be used by the setup.py script. +Commands specific to OSU; +(The Ohio State University, ) """ from baseplugin import * @@ -53,8 +54,8 @@ def configure(onStart, afterConnect, advanced): class OSU(callbacks.Privmsg): threaded = True def osuemail(self, irc, msg, args): - """..""" - s = ''.join(args) + """ """ + s = '.'.join(args) url = 'http://www.ohio-state.edu/cgi-bin/inquiry2.cgi?keyword=%s' % s try: fd = urllib2.urlopen(url)