]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/users.h
Replace most usages of "GECOS" with "real" or "real name".
[user/henk/code/inspircd.git] / include / users.h
index 12a311980254766fa007651664ef1fedb6b00bbc..bcddab1bfa08b518acefc05df6f712f88eac41bc 100644 (file)
@@ -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.