summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2013-05-06 11:49:50 +0100
committerPeter Powell <petpow@saberuk.com>2013-05-15 03:32:56 +0100
commitaccccc212cd4f08a3c5532b1ae7a17e76bac8718 (patch)
tree18f4370778cc79d2f21a4308dafbb29a77cfa213 /include/channels.h
parent23e8bba13c55d33ce89d505780da36c9589e300a (diff)
Replace some C-isms with C++-isms.
* 'const char*' to 'const std::string&'. * snprintf to std::string concatenation. * Replace duplicated OneOfMatches with InspIRCd::MatchMask.
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/channels.h b/include/channels.h
index 2b2681eac..56e1a5a49 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -176,7 +176,7 @@ class CoreExport Channel : public Extensible, public InviteBase
* @param user The user being kicked (must be on this channel)
* @param reason The reason for the kick
*/
- void KickUser(User *src, User *user, const char* reason);
+ void KickUser(User *src, User *user, const std::string& reason);
/** Part a user from this channel with the given reason.
* If the reason field is NULL, no reason will be sent.