diff --git a/src/node.cpp b/src/node.cpp index 64ab8d8..a39d2a0 100644 --- a/src/node.cpp +++ b/src/node.cpp @@ -42,7 +42,7 @@ void node::join_channel(const std::string &name) { } void node::leave_channel(const std::string &name) { - if(!get_channel(name)) + if(not get_channel(name)) return; network.cancelListen(channels[name].key, channels[name].token.get());