summaryrefslogtreecommitdiff
path: root/include/modules
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-07-30 18:50:34 +0100
committerPeter Powell <petpow@saberuk.com>2018-07-30 18:50:34 +0100
commitabbf70b2a35edaf17631e43027828011296924ad (patch)
tree62df618ad367cad9324cb1e91182790c22c9b5f8 /include/modules
parent7bde9de9b3e25a285d82d93ef6b1d3ef9c597e43 (diff)
Rename User::fullname to realname and make it private.
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/sql.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules/sql.h b/include/modules/sql.h
index 1f5bb7ff3..15e8260b6 100644
--- a/include/modules/sql.h
+++ b/include/modules/sql.h
@@ -260,7 +260,7 @@ inline void SQL::PopulateUserInfo(User* user, ParamMap& userinfo)
userinfo["nick"] = user->nick;
userinfo["host"] = user->GetRealHost();
userinfo["ip"] = user->GetIPString();
- userinfo["real"] = user->fullname;
+ userinfo["real"] = user->GetRealName();
userinfo["ident"] = user->ident;
userinfo["server"] = user->server->GetName();
userinfo["uuid"] = user->uuid;