Use newer C++ syntax.

This commit is contained in:
Nicolás Ortega Froysa 2018-09-01 19:54:46 +02:00
parent 45c1879880
commit e842755275
No known key found for this signature in database
GPG Key ID: FEC70E3BAE2E69BF

View File

@ -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());