forked from External/ergo
extend setrealname
This commit is contained in:
parent
13e1315ad9
commit
e5bf5bee6f
1 changed files with 1 additions and 1 deletions
|
|
@ -412,7 +412,7 @@ func (client *Client) SetRealname(realname string) {
|
|||
client.stateMutex.Lock()
|
||||
// TODO: make this configurable
|
||||
client.realname = realname
|
||||
if len(realname) > 64 {
|
||||
if len(realname) > 128 {
|
||||
client.realname = client.realname[:64]
|
||||
}
|
||||
alwaysOn := client.registered && client.alwaysOn
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue