summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/channels.h2
-rw-r--r--include/users.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/include/channels.h b/include/channels.h
index 220c56cf9..9b4bfb1a5 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -425,6 +425,8 @@ class CoreExport Channel : public Extensible
* @param text A std::string containing the output line without prefix
*/
void WriteAllExcept(User* user, bool serversource, char status, CUList &except_list, const std::string& text);
+ /** Write a line of text that already includes the source */
+ void RawWriteAllExcept(User* user, bool serversource, char status, CUList &except_list, const std::string& text);
/** Returns the maximum number of bans allowed to be set on this channel
* @return The maximum number of bans allowed
diff --git a/include/users.h b/include/users.h
index de4d21f9a..9023d7728 100644
--- a/include/users.h
+++ b/include/users.h
@@ -767,7 +767,7 @@ class CoreExport User : public EventHandler
/** Write text to this user, appending CR/LF.
* @param text A std::string to send to the user
*/
- void Write(std::string text);
+ void Write(const std::string &text);
/** Write text to this user, appending CR/LF.
* @param text The format string for text to send to the user