feat(cmd/channel): update the constructor of channel (empty topic)
This commit is contained in:
parent
38317ec36b
commit
d62ffb35a4
2 changed files with 7 additions and 7 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: sben-tay <sben-tay@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/05/20 22:43:24 by rparodi #+# #+# */
|
||||
/* Updated: 2025/06/19 13:46:05 by sben-tay ### ########.fr */
|
||||
/* Updated: 2025/06/19 13:58:39 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -17,7 +17,7 @@
|
|||
Channel::Channel(const std::string &name, User *owner, size_t maxUsers, bool needInvite) : _name(name), _owner(owner), _maxUsers(maxUsers), _needInvite(needInvite) {
|
||||
this->_protectTopic = false;
|
||||
this->_maxUsers = ~0;
|
||||
this->_topic = "No topic is set";
|
||||
this->_topic = "";
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue