Added MODE and invite only functionality
This commit is contained in:
@@ -55,7 +55,7 @@ User::~User()
|
||||
}
|
||||
|
||||
|
||||
void User::send(const std::string &msg)
|
||||
void User::send(const std::string &msg) const
|
||||
{
|
||||
::send(fd, msg.c_str(), msg.size(), 0);
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ class User
|
||||
User& operator=(const User &other);
|
||||
~User();
|
||||
|
||||
void send(const std::string &msg);
|
||||
void send(const std::string &msg) const;
|
||||
|
||||
// Channels
|
||||
void joinChannel(const std::string &channel);
|
||||
|
||||
Reference in New Issue
Block a user