client.disconnect();
closeEmptyChannels();
}
}
public void subscribe(Channel subscriber, String channel) {
<BUG>Channel c = getChannel(channel);
if (c != null) {
c.addChannel(subscriber);
} else {</BUG>
Channel newChannel = new Channel(channel);

client.disconnect();
closeEmptyChannels();
}
}
public void subscribe(Channel subscriber, String channel) {
Channel c = getChannel(channel.replaceFirst(":.*", ""));
if (c != null) {
if (c.validate(channel)) {
c.addChannel(subscriber);
OOCSIServer.logConnection(subscriber.getName(), channel, "subscribed", new Date());
}
} else {
Channel newChannel = new Channel(channel);
