forked from lesderid/salty-ircd
Fix canFindChannelByName
This commit is contained in:
parent
b4da3ef8fe
commit
0bd65fd449
|
@ -121,7 +121,7 @@ class Server
|
||||||
|
|
||||||
bool canFindChannelByName(string name)
|
bool canFindChannelByName(string name)
|
||||||
{
|
{
|
||||||
return !findConnectionByNick(name).empty;
|
return !findChannelByName(name).empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
void join(Connection connection, string channelName)
|
void join(Connection connection, string channelName)
|
||||||
|
|
Loading…
Reference in New Issue