X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fusers.h;h=bcddab1bfa08b518acefc05df6f712f88eac41bc;hb=8cb20e354533fbec24aafd4e61ff6fa69b434aa2;hp=12a311980254766fa007651664ef1fedb6b00bbc;hpb=565544fac966b14e046bb3042ab485f79bcf7c9e;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/users.h b/include/users.h index 12a311980..bcddab1bf 100644 --- a/include/users.h +++ b/include/users.h @@ -308,7 +308,7 @@ class CoreExport User : public Extensible */ std::string ident; - /** The users full name (GECOS). + /** The users full name. */ std::string fullname; @@ -707,10 +707,10 @@ class CoreExport User : public Extensible * ALWAYS use this function, rather than writing User::fullname directly, * as this triggers module events allowing the change to be syncronized to * remote servers. - * @param gecos The user's new realname + * @param real The user's new real name * @return True if the change succeeded, false if otherwise */ - bool ChangeName(const std::string& gecos); + bool ChangeName(const std::string& real); /** Change a user's nick * @param newnick The new nick. If equal to the users uuid, the nick change always succeeds. @@ -736,6 +736,7 @@ class CoreExport UserIOHandler : public StreamSocket LocalUser* const user; UserIOHandler(LocalUser* me) : user(me) {} void OnDataReady() CXX11_OVERRIDE; + void OnSetEndPoint(const irc::sockets::sockaddrs& local, const irc::sockets::sockaddrs& remote) CXX11_OVERRIDE; void OnError(BufferedSocketError error) CXX11_OVERRIDE; /** Adds to the user's write buffer.