diff options
Diffstat (limited to 'include/users.h')
-rw-r--r-- | include/users.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/include/users.h b/include/users.h index 52f3e4a88..941e57667 100644 --- a/include/users.h +++ b/include/users.h @@ -403,7 +403,7 @@ class CoreExport User : public Extensible /** Create a displayable mode string for this users snomasks * @return The notice mask character sequence */ - const char* FormatNoticeMasks(); + std::string FormatNoticeMasks(); /** Process a snomask modifier string, e.g. +abc-de * @param sm A sequence of notice mask characters @@ -481,12 +481,6 @@ class CoreExport User : public Extensible */ virtual bool HasModePermission(unsigned char mode, ModeType type); - /** Creates a wildcard host. - * Takes a buffer to use and fills the given buffer with the host in the format *!*\@hostname - * @return The wildcarded hostname in *!*\@host form - */ - char* MakeWildHost(); - /** Creates a usermask with real host. * Takes a buffer to use and fills the given buffer with the hostmask in the format user\@host * @return the usermask in the format user\@host @@ -607,7 +601,7 @@ class CoreExport User : public Extensible * @param LinePrefix text to prefix each complete line with * @param TextStream the text to send to the user */ - void SendText(const std::string &LinePrefix, std::stringstream &TextStream); + void SendText(const std::string& linePrefix, std::stringstream& textStream); /** Write to the user, routing the line if the user is remote. */ |