fix the username response(old skype account)
This commit is contained in:
parent
067228b700
commit
9bb85282de
|
@ -479,6 +479,9 @@ func (handler *CommandHandler) CommandPing(ce *CommandEvent) {
|
||||||
if len(ce.User.Conn.UserProfile.LastName) > 0 {
|
if len(ce.User.Conn.UserProfile.LastName) > 0 {
|
||||||
username = username + ce.User.Conn.UserProfile.LastName
|
username = username + ce.User.Conn.UserProfile.LastName
|
||||||
}
|
}
|
||||||
|
if username == "" {
|
||||||
|
username = ce.User.Conn.UserProfile.Username
|
||||||
|
}
|
||||||
ce.Reply("You're logged in as @" + username)
|
ce.Reply("You're logged in as @" + username)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue