summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-19 21:16:42 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-05-19 21:16:42 +0000
commit31f1e7ad092f8bf16ee653cc105eea4a769650ca (patch)
treedced0411d5fbe803fe92ea54cb03d36c0a817563 /include/channels.h
parent869bd02318d94a38369a125726b8edeb54ba0706 (diff)
Convert channel::name to std::string, this was a beastie!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9770 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/channels.h b/include/channels.h
index b404e26cd..7f1be6c5a 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -134,7 +134,7 @@ class CoreExport Channel : public Extensible
/** The channel's name.
*/
- char name[CHANMAX];
+ std::string name; /* CHANMAX */
/** Modes for the channel.
* This is not a null terminated string! It is a hash where
@@ -180,7 +180,7 @@ class CoreExport Channel : public Extensible
/** Channel topic.
* If this is an empty string, no channel topic is set.
*/
- char topic[MAXTOPIC];
+ std::string topic; /* MAXTOPIC */
/** Creation time.
* This is a timestamp (TS) value.
@@ -195,7 +195,7 @@ class CoreExport Channel : public Extensible
/** The last user to set the topic.
* If this member is an empty string, no topic was ever set.
*/
- char setby[128];
+ std::string setby; /* 128 */
/** Contains the channel user limit.
* If this value is zero, there is no limit in place.
@@ -205,7 +205,7 @@ class CoreExport Channel : public Extensible
/** Contains the channel key.
* If this value is an empty string, there is no channel key in place.
*/
- char key[32];
+ std::string key; /* 32 */
/** The list of all bans set on the channel.
*/