summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorAttila Molnar <attilamolnar@hush.com>2013-06-05 17:52:39 -0700
committerAttila Molnar <attilamolnar@hush.com>2013-06-05 17:52:39 -0700
commitf00ac52c5d593fcb761fc316b2582bb06158035c (patch)
treebec88a8a69c4a912606636c9df6283c154962fef /include/users.h
parentd9d99cd02dadf34bfcc220734ba0c422f0acb3e6 (diff)
parent5d0b2b7cfccf057e7abab94c41065f94420899cd (diff)
Merge pull request #544 from SaberUK/master+kill-maxbuf
Purge MAXBUF in favour of a configuration option.
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h10
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.
*/