m.applyChanges(modes);
Map<Character, Character> xlate = curProtocol.getPrefixMap();
if (users.length != 0)
for (String user : users) {
UserModes t = new UserModes();
String tUser, tMode;
Client z;
tUser = user.toLowerCase();
tMode = null;
for (Map.Entry<Character, Character> e : xlate.entrySet()) {
if (user.startsWith(e.getKey().toString())) {
tUser = user.substring(1).toLowerCase();
tMode = "+" + xlate.get(user.substring(0, 1).toCharArray());
}
}
z = Users.get(tUser);
if (tMode != null)
t.applyChanges(tMode);
cm.put(z, t); // add this client -> mode mapping to channel
}
if (Channels.containsKey(channel.toLowerCase())) {