mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Using utils.depluralize now instead of my previous hack
This commit is contained in:
parent
29a3264126
commit
e1d1343055
@ -245,10 +245,7 @@ class Sourceforge(callbacks.PrivmsgCommandAndRegexp):
|
||||
resp.append('%s' % i(s))
|
||||
except AttributeError:
|
||||
pass
|
||||
if linktype.endswith('es'):
|
||||
linktype = linktype[:-2]
|
||||
else:
|
||||
linktype = linktype[:-1]
|
||||
linktype = utils.depluralize(linktype)
|
||||
irc.reply(msg, '%s #%s: %s' % (ircutils.bold(linktype),
|
||||
ircutils.bold(num), '; '.join(resp)))
|
||||
except AttributeError, e:
|
||||
|
Loading…
Reference in New Issue
Block a user