mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-25 20:22:45 +01:00
irclib: expand standard substitutions in realname
This commit is contained in:
parent
3776404628
commit
278a111f5f
@ -970,7 +970,8 @@ class Irc(IrcCommandDispatcher, log.Firewalled):
|
||||
return getattr(network_config, name)() or \
|
||||
getattr(conf.supybot, name)()
|
||||
self.nick = get_value('nick')
|
||||
self.user = get_value('user')
|
||||
# Expand variables like $version in realname.
|
||||
self.user = ircutils.standardSubstitute(self, None, get_value('user'))
|
||||
self.ident = get_value('ident')
|
||||
self.alternateNicks = conf.supybot.nick.alternates()[:]
|
||||
self.password = network_config.password()
|
||||
|
Loading…
Reference in New Issue
Block a user