Changed bug to reportbug.

This commit is contained in:
Jeremy Fincher 2003-10-17 16:39:05 +00:00
parent 6e728e74da
commit 4c8bb936b8
2 changed files with 4 additions and 2 deletions

View File

@ -1,3 +1,6 @@
* Changed the name of the "bug" command in the AdminCommands
plugin to "reportbug" instead.
* Added QUIT stat-keeping to ChannelDB. This added another column * Added QUIT stat-keeping to ChannelDB. This added another column
to the database; you'll need to add a 'quits' column to both to the database; you'll need to add a 'quits' column to both
user_stats and channel_stats. Good luck. user_stats and channel_stats. Good luck.

View File

@ -191,7 +191,7 @@ class AdminCommands(privmsgs.CapabilityCheckingPrivmsg):
conf.prefixChars = s conf.prefixChars = s
irc.reply(msg, conf.replySuccess) irc.reply(msg, conf.replySuccess)
def bug(self, irc, msg, args): def reportbug(self, irc, msg, args):
"""<description> """<description>
Reports a bug to a private mailing list supybot-bugs. <description> Reports a bug to a private mailing list supybot-bugs. <description>
@ -211,7 +211,6 @@ class AdminCommands(privmsgs.CapabilityCheckingPrivmsg):
""") % (description, time.ctime(), conf.version, messages) """) % (description, time.ctime(), conf.version, messages)
email = email.strip() email = email.strip()
email = email.replace('\n', '\r\n') email = email.replace('\n', '\r\n')
#debug.printf(`email`)
smtp = smtplib.SMTP('mail.sourceforge.net', 25) smtp = smtplib.SMTP('mail.sourceforge.net', 25)
smtp.sendmail('jemfinch@users.sf.net', smtp.sendmail('jemfinch@users.sf.net',
['supybot-bugs@lists.sourceforge.net'], ['supybot-bugs@lists.sourceforge.net'],