Fixed incorrect comparison.
This commit is contained in:
parent
41df104955
commit
8dd885537f
@ -43,7 +43,7 @@ int NeoComm_join_channel(const char *channel_name) {
|
||||
}
|
||||
|
||||
// if it already exists then just exit
|
||||
if(channels.find(s_chan_name) == channels.end())
|
||||
if(channels.find(s_chan_name) not_eq channels.end())
|
||||
return 1;
|
||||
|
||||
dht::InfoHash chan_hash(s_chan_name);
|
||||
|
Loading…
Reference in New Issue
Block a user