summaryrefslogtreecommitdiffstats
path: root/src/chatchannel.h
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2006-01-20 23:17:19 +0000
committerYohann Ferreira <bertram@cegetel.net>2006-01-20 23:17:19 +0000
commitd318b2428878bd0e35b189b3e6d3bffd825da25c (patch)
treedc61bd08aec87a5293e1ca072079652ad6047423 /src/chatchannel.h
parent7960ff184f15a3b6029fef8e5100d24a6c556afe (diff)
downloadmanaserv-d318b2428878bd0e35b189b3e6d3bffd825da25c.tar.gz
manaserv-d318b2428878bd0e35b189b3e6d3bffd825da25c.tar.xz
manaserv-d318b2428878bd0e35b189b3e6d3bffd825da25c.zip
Chat channeling commit part 3. Is now linked with the connection handler to chat in a specific channel. Also made some fixes on the chat channeling.
Diffstat (limited to 'src/chatchannel.h')
-rw-r--r--src/chatchannel.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/chatchannel.h b/src/chatchannel.h
index 4baf093..43b722b 100644
--- a/src/chatchannel.h
+++ b/src/chatchannel.h
@@ -36,9 +36,9 @@ class ChatChannel {
/**
* Constructors
*/
- ChatChannel(const std::string channelName,
- const std::string ChannelAnnouncement,
- const std::string ChannelPassword);
+ ChatChannel(const std::string &channelName,
+ const std::string &channelAnnouncement,
+ const std::string &channelPassword);
/**
* Destructor
@@ -63,17 +63,17 @@ class ChatChannel {
/**
* Set the name of the channel
*/
- void setName(const std::string channelName);
+ void setName(const std::string &channelName);
/**
* Set the Announcement string of the channel
*/
- void setAnnouncement(const std::string channelAnnouncement);
+ void setAnnouncement(const std::string &channelAnnouncement);
/**
* Set the password of the channel
*/
- void setPassword(const std::string channelPassword);
+ void setPassword(const std::string &channelPassword);
/**
* Get the list of the users registered in the channel