mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Changed bug to reportbug.
This commit is contained in:
parent
6e728e74da
commit
4c8bb936b8
@ -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.
|
||||||
|
@ -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'],
|
||||||
|
Loading…
Reference in New Issue
Block a user