summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:45:29 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-09-02 00:45:29 +0000
commit6e85701ecb09604f2c87010683638ec0446cc515 (patch)
tree14cef47a86de3948d4c1f72affb7a119a75e3c5b /include/channels.h
parent8c149db4615d0206c1c40f6e377cb43271ab690e (diff)
Remove a few unneeded string copies in the PRIVMSG path
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11606 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h2
1 files changed, 2 insertions, 0 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