Use newer C++ syntax.
This commit is contained in:
parent
45c1879880
commit
e842755275
@ -42,7 +42,7 @@ void node::join_channel(const std::string &name) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void node::leave_channel(const std::string &name) {
|
void node::leave_channel(const std::string &name) {
|
||||||
if(!get_channel(name))
|
if(not get_channel(name))
|
||||||
return;
|
return;
|
||||||
network.cancelListen(channels[name].key,
|
network.cancelListen(channels[name].key,
|
||||||
channels[name].token.get());
|
channels[name].token.get());
|
||||||
|
Loading…
Reference in New Issue
Block a user