]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/usermanager.h
The bug we fixed for bug #506 may still occur in trunk if a module adjusts the nick...
[user/henk/code/inspircd.git] / include / usermanager.h
index 33b97129a9bf1ad143d2757e596bbe39b7fd3026..6016a24622fecb0ae681fd79e9a6b3a4652a0ce4 100644 (file)
@@ -71,7 +71,7 @@ class CoreExport UserManager : public classbase
         * @param ip The IP address of the user
         * @return This function has no return value, but a call to AddClient may remove the user.
         */
-       void AddClient(InspIRCd* Instance, int socket, int port, bool iscached, int socketfamily, sockaddr* ip);
+       void AddClient(InspIRCd* Instance, int socket, int port, bool iscached, int socketfamily, sockaddr* ip, const std::string &targetip);
 
        /** Add a user to the local clone map
         * @param user The user to add
@@ -138,13 +138,13 @@ class CoreExport UserManager : public classbase
         * @param text The text format string to send
         * @param ... The format arguments
         */
-       void ServerNoticeAll(char* text, ...);
+       void ServerNoticeAll(const char* text, ...);
 
        /** Send a server message (PRIVMSG) to all local users
         * @param text The text format string to send
         * @param ... The format arguments
         */
-       void ServerPrivmsgAll(char* text, ...);
+       void ServerPrivmsgAll(const char* text, ...);
 
        /** Send text to all users with a specific set of modes
         * @param modes The modes to check against, without a +, e.g. 'og'