4NLAKJMMFFEEJQRG254SIOP5O5GVOYY3XT2IUOVZO3OX3WS2AZXAC
62G37VDCX6YCGUVDM3DNHPCFU74ZCCDUJU2DZ7QQIEA53M2FKKUAC
EY6EWMGOLK3IJYPINGJN7HBRXN4S76RN3KNUKKXLZLRJTOXBZPDAC
KIMLP4FXKI3DGXPQNN4Z6R2MM2XSKV5E5LBHCMRVNAG4Z3MK4VCAC
G5QWNM5KIWQPIT4MGOC5SBUWEIIVZS67YPIH3U5TUASHASABE2CQC
JHXNF5UYYTCR36BEJRW764MYM5WS7MMH2NPCCFJMNXNYDJHVYNQQC
7CFD3UOWFKMZRCBYEIU2NWGSPS2EXK5AP4QZFMKUH3K3JCBOEKXAC
BZTGBAOQBU225565NW3S5FIOE732SVOJRCG4WTRHBLA7E6ZDXAGAC
YVK4OS4V2O3KA3QDFFCZYXB5FOAFN72SO2NXTHV2JBT563IZK4EAC
S4P2B3FPF57HPHTIAYGMPCVKB7573IB5ZBKNXVBTB6ICCPF55WNQC
mut alias := self.aliases.match_matrix(name) or {
alias := &chat.Alias{
matrix: name
irc: nick
}
self.db.insert('bridge_nicks', chat.alias_to_db(alias))
alias
}
if alias.irc != nick {
alias.irc = nick
self.db.update_by_field('bridge_nicks', 'matrix', name, 'irc',
nick)
self.chat.say(system, '', network, room_id, 'updated preferred irc nick to $nick')
}
msg := 'changing nick to $nick'
self.chat.say(system, '', network, room_id, msg)
ircnet.nick(mut *ghost, nick)
vghost := *ghost // VBUG
if alias.irc == vghost.nick {
msg := 'changing $ircnet.name $vghost.nick to $nick'
self.chat.say(system, '', network, room_id, msg)
ircnet.nick(mut *ghost, nick)
}