From e842755275abc68045b8ab0769072b59660809c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Ortega=20Froysa?= Date: Sat, 1 Sep 2018 19:54:46 +0200 Subject: [PATCH] Use newer C++ syntax. --- src/node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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());